<div id="carte"></div><script type="text/javascript">$(document).ready(function(){
var mymap = L.map('carte', {
scrollWheelZoom: false,
center: [45.8690063, -72.4722806],
zoom: 16,
tap: false
});
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors' }).addTo(mymap);
var nmediaIcon = L.icon({
iconUrl: '/_media/image/marker-nmedia.png',
shadowUrl: '',
iconSize: [67, 83], // size of the icon
shadowSize: [0, 0], // size of the shadow
iconAnchor: [33, 82], // point of the icon which will correspond to marker's location shadowAnchor: [0, 0], // the same for the shadow
popupAnchor: [-3, -76] // point from which the popup should open relative to the iconAnchor });
L.marker([45.8690063, -72.4722806], {icon: nmediaIcon}).addTo(mymap);
mymap.invalidateSize();
});
</script>