Tuesday, November 13, 2012

# Google Maps # KML

Create Custom Map with KML

One way to create a custom map is to use KML (Keyhole Markup Language)

Let me show you how to do it..

At first you can open this link http://display-kml.appspot.com/

You'll see a blank text field in the left and map side in the right..


This is the example,

I place a point in Imam Bonjol Bandung to show the location of Baby house

one famous place where you can get any baby and mom things.., and here is the script..

you can custom it from here..



<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>
 <Style id="hellokitty">
  <IconStyle>
   <scale>5</scale>
   <Icon><href>http://static.tvtropes.org/pmwiki/pub/images/Hello_Kitty_Pink_2981.jpg</href></Icon>
  </IconStyle>
 </Style>
 <Placemark id="placemark">
 <description>
  <h1><font color="blue">LavieBaby House</font></h1>
  <p>Jl. Imam Bonjol No.6 Bandung</p>
  <p>022-2504905</p>
  <img src="http://images1.fanpop.com/images/photos/2300000/Hello-Kitty-hello-kitty-2359047-1024-768.jpg" width="150" height="110"/>
 </description>
 <styleUrl>#hellokitty</styleUrl>
 <Point>
  <coordinates>107.61537265,-6.890751</coordinates>
 </Point>
 </Placemark>
</Document>
</kml>


No comments:

Post a Comment