background preloader

Google Maps

Facebook Twitter

Google Maps : MyMaps GeometryControls Example. Love My Maps? Use its Line and Shape Editing in your API Apps! Posted by Keith Golden, My Maps team When we launched the map editing tools in Google Maps, the reaction of developers was "This is cool, but how can I use it on my own site?

Love My Maps? Use its Line and Shape Editing in your API Apps!

" As someone who was originally drawn to Google in part because of the Maps API and the great developer community around it, I committed to making the My Maps tools useful for developers on their own sites. Today, I'm pleased to announce that our user interface functionality for editable polylines and polygons is now part of the Maps API. Say, for example, that you have a GPolygon you want users to be able to edit. Simply call GPolygon.enableEditing() and the poly will have draggable edit control vertices when the user mouses over it. My Google Maps tool. Draw polygon using mouse on google maps.