First page Back Continue Last page Overview Image
OpenStreetMap(二)
- var gIcon = L.icon({
- iconUrl: 'leaf-green.png',
- shadowUrl: 'leaf-shadow.png',
- iconSize: [38, 95], // size of the icon
- shadowSize: [50, 64], // size of the shadow
- iconAnchor: [22, 94],
- shadowAnchor: [4, 62],
- popupAnchor: [-3, -76]
- });
- L.marker([51.5, -0.09], {icon: greenIcon}).addTo(map);