How to get img URL from KML file.

Tutorials that use the MapActivity. Many using GPS functionality.

How to get img URL from KML file.

Postby sunillakhiyani » Sat Dec 12, 2009 1:41 am

Hi all..
I read a KML file, i can get address, phone number and name of particular places from KML file.
But i do not know how to get image url from it.

here is my kml file..::

<Placemark><name>Sea World</name><Snippet><![CDATA[500 Sea World Drive, San Diego, CA 92109-7993<br/>(619) 222-6363]]></Snippet><address>500 Sea World Drive&lt;br/&gt;San Diego, CA 92109-7993</address><StyleMap><Pair><key>normal</key><Style><BalloonStyle><text><![CDATA[<table width ="250"><tr><td colspan="2"><font size="+1"><b><a href="http://maps.google.com/maps?q=popular+places+loc:32.715329+117.157255+&ie=UTF8&hl=en&latlng=4530158568218493327&ei=elQhS9z9NY6wNMPs2IsF&sig2=PxvdOqJxLsOUbJrwyCtdCA&cd=3">$[name]</a></b></font><br/><img src="http://www.google.com/images/syt-star-on.gif" alt="Rated 4.2 out of 5.0"/>&nbsp;<img src="http://www.google.com/images/syt-star-on.gif" alt=""/>&nbsp;<img src="http://www.google.com/images/syt-star-on.gif" alt=""/>&nbsp;<img src="http://www.google.com/images/syt-star-on.gif" alt=""/>&nbsp;<img src="http://www.google.com/images/syt-star-off.gif" alt=""/>&nbsp;<font color="#808080">49 reviews</font></td></tr><tr><td>
500 Sea World Drive<br/>San Diego, CA 92109-7993<br/>(619) 222-6363<br/><a href="http://www.seaworldsandiego.com/SitePage.aspx?PageID=224" style="color:#008000">seaworldsandiego.com</a></td><td><a href="/maps?q=popular+places+loc:32.715329+-117.157255+&amp;ie=UTF8&amp;hl=en&amp;sll=32.881430,-116.937422&amp;sspn=0.471671,0.802480&amp;latlng=4530158568218493327&amp;ei=elQhS9z9NY6wNMPs2IsF&amp;sig2=PxvdOqJxLsOUbJrwyCtdCA&amp;cd=3&amp;dtab=5&amp;ct=rp_photo&amp;usq=popular+places&amp;cad=Panoramio&amp;geocode=FfHk8wEdzlUD-Q"><img src="http://static.panoramio.com/photos/iw-thumbnail/12181812.jpg"/></a></td></tr></table><br/><br/>  $[geDirections]]]></text></BalloonStyle>



i want image <img src="http://static.panoramio.com/photos/iw-thumbnail/12181812.jpg"/>

can any one help me??
sunillakhiyani
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Dec 12, 2009 12:47 am

Top

Return to Map Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest