Skip to main content
1-Visitor
January 21, 2015
Question

KMZ/KML files in Google Maps widget

  • January 21, 2015
  • 2 replies
  • 3174 views

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


Thanks


Loren



    2 replies

    14-Alexandrite
    January 23, 2015

    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



    lorenmc1-VisitorAuthor
    1-Visitor
    January 26, 2015

    Hi,

    If you don't mind helping me that would be great!  Are you able to just send me your updated extension?


    Thanks


    Loren



    14-Alexandrite
    January 26, 2015

     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.






    lorenmc1-VisitorAuthor
    1-Visitor
    January 26, 2015

    After importing the extension package should there be a new widget or will the original "Google Map" widget just be modified?

    Thanks

    14-Alexandrite
    January 27, 2015

    The original will be modified