Digitizer tool - online Google maps tool
This application uses Google Maps API version 2. The same tool with Version 3 is here.
I find my tool easier to use, with the options I need, than the Google Maps MyMaps creation tool - http://maps.google.com.
The OpenStreetMap map type has been added to the Google Maps map types. It has been embedded as a layer within the Google Map. This will in many parts of the world give you map tiles with more details than the default Google Maps tiles.
You may draw paths, routes, directions with this application. Choose Combinations in Draw mode. One of the options there use GDirections.
If a coastline is part of the shape you want to create, you may use templates and build on them
Build Google maps polylines and polygons from templates
I have posted an example here: Enable editing in V3
And for editing - if you have a kml file uploaded on a server, and you want to edit its coordinates, you may use this tool Edit tool for Google maps polyline and polygon
Here are some other tools and helpers I have made
|Large map tool||Marker tool, KML, coordinates|
|Edit Google Maps KML file||Custom overlay for Google Maps|
|Google Maps API v3 tool||Reading a KML file|
The "Holes" feature ("donuts", "islands"), draw a polygon with holes, is easy with KML code. But
"new GPolygon.fromEncoded". It could, however, be done like this: Get the
coordinates for the outer boundary points. Get the coordinates for the inner boundary points - the
hole. Join the coordinates - append the inner points coordinates to the end of the outer points
coordinates. Then use "new GPolygon" to create the polygon. But there will be a line from the outer outline to the inner
outline on the map. To avoid this, I now use "new GPolygon.fromEncoded" to present polygons with holes
on the map. To do the encoding, I use PolylineEncoder.js provided by
To draw a polygon with a hole with this application: Click "Holes" and follow the instructions. Draw a closed shape in Polyline draw mode. Draw a (closed) shape within (if you want a hole, but it is possible to draw the second shape outside or overlapping). Choose Polygon draw mode to view the result.
The Google Maps API was not compatible with IE8. This has been filed as a bug in
The problem is that the 'click' event in Google Maps API do not behave in IE8 the way it does in other browsers. There are workarounds. The 'mousemove' event in Google Maps API returns the correct position in IE8. In this application I register the mouse position when the map is clicked and use that instead of the clicked position. Thus, IE8 works fine with my google maps tool.
5. January 2010: There is a message in the google thread above that the bug has been fixed.
I have changed the code in my application. There is no special treatment for IE8 now in the code.
|width="31" height="31" border="0" alt="Home">||Contact: firstname.lastname@example.org|