Loading a KML/KMZ to google maps

255 views
Skip to first unread message

לילך איילי

unread,
Apr 11, 2013, 7:50:12 AM4/11/13
to kml-support-g...@googlegroups.com
Hi,
I'm trying to help a friend to load a lot of data to the web. We have many KMZ he created in google earth, we want to create a web site that will have links to load them to google maps. It looks like the size and other API limitations are not a problem, we do not need advanced features like tours, 3D etc., mostly polygons and data.
 
I had first thought of using the import in google maps to create my own map and than save it and share, but when I tried to do it the map came up with many pages and "Next" bar. each page contained only few polygons. Then I saved the KML file on the web and created a network link file. If I copy the web address into the search box of google maps the map opens well, with all polygons, exactly as I want it to be. But I want this to happen automatically, without the user having to open google maps and copy the web address. If I use the network link file, the file is downloaded from the web and opened in google earth.
 
Can someone offer a way to automatically load KML/KMZ file into google maps, using a link?
 
Thanks,
 Lilach
 

barryhunter (KML Guru)

unread,
Apr 11, 2013, 10:50:37 AM4/11/13
to kml-support-g...@googlegroups.com

לילך איילי

unread,
Apr 18, 2013, 4:26:00 AM4/18/13
to kml-support-g...@googlegroups.com
Thank you Barry.
When I click on this link it indeed opens google maps and shows a map of USA but I get a message:
http://example.com/path/to/... could not be displayed because it is not a valid KML or KMZ file.
 
Was this what you meant? How can I see the code itself?
Thanks,
 Lilach

On Thursday, April 11, 2013 5:50:37 PM UTC+3, barryhunter (KML Guru) wrote:
http://maps.google.com/maps?q=http://example.com/path/to/file.kml

:)

barryhunter (KML Guru)

unread,
Apr 18, 2013, 6:41:59 AM4/18/13
to kml-support-g...@googlegroups.com
Well no. example.com probably dont have a KML at that location. 

Its just an example

the the URL/path to YOUR kml file instead!
Reply all
Reply to author
Forward
0 new messages