Thank you for your interest in my script. Please click here to download this code. If you have any questions that are beyond the scope of this help file, please feel free to email via our contact form here. Thanks so much!
Google Maps KML Generator is a JavaScript code that makes it
easier to add multiple polygons and markers to the KML file.
You can specify the fill and border colors of the polygon.
You can also specify the polygon border and fill opacity.
You can also specify the weight of the border of the polygon.
You can download it as KML file.
After specifying all the options, click OK button.
Draw a Polygon:
If you want to add polygons to the KML, then click Draw Polygon
from the navigation bar and draw as many polygons on the map as required.
When you draw a polygon, a popup will appear where you can enter name
as well as description of the place/area.
Add a Marker/Pin:
If you want to add markers/pins to the KML, then click Add Marker
from the navigation bar and add as many markers/pins on the map as required.
When you add a marker/pin, a popup will appear where you can enter name
as well as description of the place.
Clearing Map:
If you want to clear the map i.e. remove all the polygons and markers, then click
Clear Map and click OK from the confirmation dialog.
Download KML:
To generate and download the KML file, click Download KML form
the navigation bar.
Add your key in the following line (replace YOUR_API_KEY with your Google Maps API key):
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=drawing&key=YOUR_API_KEY"></script>
Once again, thank you so much for your interest in this script.
As I said at the beginning, I'd be glad to help you if you have any questions relating to this script.
No guarantees, but I'll do my best to assist. If you have a more general question relating to the
apps on CodeCanyon, you might consider visiting the forums and asking your question in the "Item Discussion" section.