any tools of create kml string for google-maps-v3
i 开发者_Python百科want to generate some kml string to stroe into database ..
and has any simply way to generate this string ?
thanks
What do you mean kml string, isnt it an xml file like the one below?
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2">
<Placemark>
<name>Stonehenge, England</name>
<description>Stonehenge was built about 2500BC
</description>
<Point>
<coordinates>-1.826752,51.179045
</coordinates>
</Point>
</Placemark>
</kml>
In which case you can use
XmlDocument xmlDoc = new XmlDocument();
etc
Maybe try this digitizer tool
http://www.birdtheme.org/useful/googletool.html
精彩评论