how can I display thumbnail image in spite of bubble in google map API -


i using google map api in application. how can show thumbnail image in place of red bubble perticular address on map.

when create marker, set icon. i.e.

var marker = new google.maps.marker({   map: null,   position: new google.maps.latlng(jdata.locationlat, jdata.locationlon),   visible: true,   clickable: true,   title: jquery.trim(jdata.locationname),   icon: 'http://www.mysite.com/mythumb.png',   shadow: 'http://www.mysite.com/markershadow.png' }); 

you can set after initialization well:

marker.seticon('http://www.mysite.com/mythumb.png'); marker.setshadow('http://www.mysite.com/markershadow.png'); 

Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -