I can't really understand what you are doing with the marker change. You may need to cut it back to very simple with what you are doing. It doesn't seem right to me that you are plotting the same marker, in the same place each time
Setting the existing marker size may be a little easier. I hope this code from something I have done before might be of some help. http://srsz750.appspot.com/api3/zoomchange.html When you zoom out the icons and lines shrink in size, and as you zoom in the icons and lines get larger. It works by declaring; var routesArray = []; var pointsArray = []; and then pushing all the lines and markers onto it's relevant array. pointsArray.push(marker); routesArray.push(polylineplot); Also a listener is needed for a zoom change on the map; google.maps.event.addListener(map, 'zoom_changed', function(event) { Make sure that an icon is set for the markers. If you try zooming in and out you will notice that the lines change thickness and the markers get bigger and smaller. On Apr 12, 3:29 pm, Ebpo <[email protected]> wrote: > http://www.prod-imaginaxion.ca/soho/ > > Clic somewhere on the map, scroll to zoom deep, scroll out, basically just > play with the map! ;) -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
