Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Is there a way to add KMZ/KML files to the Google Maps widget?
Thanks
Loren
Hi Loren,
I modified the Google Maps Extension to read KML files, using as reference the link below:
https://developers.google.com/maps/documentation/javascript/examples/layer-kml
I now have a parameter where I can reference a KML file.
Please let me know if you want some help.
Thanks
Hi,
If you don't mind helping me that would be great! Are you able to just send me your updated extension?
Thanks
Loren
Hi Loren,
You can get if from here: https://dl.dropboxusercontent.com/u/56013581/GoogleWidgets_ExtensionPackage_KML.zip
Using it is very straight forward: just add an URL for the KML file in the Widget property and it should show the layer with the routs or markups.
Unfortunately I am not generating a KML file yet but you can find many tools online that do that.
After importing the extension package should there be a new widget or will the original "Google Map" widget just be modified?
The original will be modified
After a successful import of the extension I still can't find the property of the Google Map widget that will allow me to point to the URL of a KML file. Do you recall what the property is called?
Thanks
Loren
Hi Loren, I should not have called it a property. It is a parameter in the IDE called KMLFile. See a screenshot.
https://dl.dropboxusercontent.com/u/56013581/kmlfile.jpg
Sorry for the confusion.