Last active
August 29, 2015 14:07
-
-
Save sandeshdamkondwar/c1d35e697a8acf9a3b3d to your computer and use it in GitHub Desktop.
Creating custom icon for markers In Google Maps.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#map_extended").gMap({ | |
controls: false, | |
scrollwheel: true, | |
maptype: 'TERRAIN', | |
markers: [ | |
{ | |
latitude: 47.670553, | |
longitude: 9.588479, | |
icon: { | |
image: "images/gmap_pin_orange.png", | |
iconsize: [26, 46], | |
iconanchor: [12,46] | |
} | |
}, | |
{ | |
latitude: 47.65197522925437, | |
longitude: 9.47845458984375 | |
}, | |
{ | |
latitude: 47.594996, | |
longitude: 9.600708, | |
icon: { | |
image: "images/gmap_pin_grey.png", | |
iconsize: [26, 46], | |
iconanchor: [12,46] | |
} | |
} | |
], | |
icon: { | |
image: "images/gmap_pin.png", | |
iconsize: [26, 46], | |
iconanchor: [12, 46] | |
}, | |
latitude: 47.58969, | |
longitude: 9.473413, | |
zoom: 10 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment