[Google Maps API v2] Re: kml file with google places as placemark
I apologize for my last post being confusing. I've re-written it.
With a KML file, is it possible to setup the placemarks so that the
bubble has the google place info? I know I could use the google
places api and recreate it. I was hoping there was an easier way.
One of the things I tried was creating a google my map with the Google
Mountain View google places. Then I exported the kml (with link url
&output=kml), put it on my server, and opened the kml file with google
maps. The bubble doesn't show the google places with the kml version.
If it isn't possible to show google places with kml file, is there a
way to setup it up so that the directions go to the address instead of
the long/lat? Below is the kml file I created. When I click
directions, it says "@37.422076,-122.084519" in the B box. I'd like
it to show "1600 Amphitheatre Parkway, Mountain View, CA".
Brian
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
<name>
KML Example file
</name>
<description>
Simple markers
</description>
<Placemark>
<name>
google
</name>
<description>
google desc
</description>
<address>
1600 Amphitheatre Parkway, Mountain View, CA
</address>
<Point>
<coordinates>
-122.0845187,37.4220761,0
</coordinates>
</Point>
</Placemark>
</Document>
</kml>
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home