Wasn't it Illusionicea who wrote:
>
>But how to export the kml out after i define the region? I need the
>longitude and latitude for the region that I define.
If you're using My Maps:
If you click the "View in Google Earth" link of the My Maps page, then
you get a KML file that contains a NetworkLink instead of a list of
Placemarks. EGeoXml can't do anything with that.
To obtain the real KML file from My Maps, you now have to right click on
the "View in Google Earth" link, copy the link location ("copy shortcut"
in MSIE) and then edit the resulting URL.
Find the bit that says "&output=nl" and change it to "&output=kml".
The coordinates are inside the <coordinates> tag, but with the longitude
and latitude in the opposite order to what you would expect.
If you're using Geometry Control, use .getVertex(i) to read the
GLatLng() of each vertex.
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---