cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

KMZ/KML files in Google Maps widget

lorenmc
1-Visitor

KMZ/KML files in Google Maps widget

Is there a way to add KMZ/KML files to the Google Maps widget?


Thanks


Loren



7 REPLIES 7
emoreira
14-Alexandrite
(To:lorenmc)

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



emoreira
14-Alexandrite
(To:lorenmc)

 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?

Thanks

emoreira
14-Alexandrite
(To:lorenmc)

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



emoreira
14-Alexandrite
(To:lorenmc)

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.



Announcements


Top Tags