zachdrago
3/27/2016 - 1:51 PM

leaflet icon test

leaflet icon test

var greenIcon = L.icon({
			    iconUrl: 'http://i.imgur.com/dWbKOER.png',
			    shadowUrl: 'http://i.imgur.com/iN77E4j.png',

			    iconSize:     [38, 95], // size of the icon
			    shadowSize:   [50, 64], // size of the shadow
			    iconAnchor:   [22, 94], // point of the icon which will correspond to marker's location
			    shadowAnchor: [4, 62],  // the same for the shadow
			    popupAnchor:  [-3, -76] // point from which the popup should open relative to the iconAnchor
			});