[Google Maps API v3] polyline editor
Can anyone point me to a v3 map editor that is similar to the one here http://gmaps-samples.googlecode.com/svn/trunk/poly/mymapstoolbar.html What I am mainly interested in is allowing the user to select from a menu the type of line or route (i.e. category such as walk, bike, run) they wish to draw. The lines need to be drawn on one map and they need to be able to edit/ delete the line. When the map is done the user will hit continue and the lines will be saved to the server. An links to examples is appreciated. -- 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] Re: icon name from variable
OK - I have posted a sample file http://www.landvizmedia.net/testFiles/gmapIconSwap.php I added an alert that displays the color but now need to have it replace the iconGreen that is currently used. I realize that a lot of this is V2, if there is a better way to do this in V3 please let me know - actually wouldn't mind knowing how to do it in both versions. -- 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
[Google Maps API v3] icon name from variable
I have the following and it works fine displaying my iconBlue or iconGreen marker. However, I want to be able to toggle which icon gets used - for now I just tried setting variable userIcon = to the name of the icon to use but it does not work. //this works addressCenter = new GLatLng(latitude, longitude); marker = new GMarker(addressCenter, { icon:iconBlue, bounce:false, draggable: true, title: iconFeature, clickable: true }); map.addOverlay(marker); //this does not work userIcon = 'iconGreen'; addressCenter = new GLatLng(latitude, longitude); marker = new GMarker(addressCenter, { icon:userIcon, bounce:false, draggable: true, title: iconFeature, clickable: true }); map.addOverlay(marker); -- 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.