Open KML file in Google Maps

523
Open KML file in Google Maps

This article basically demonstrates how to Open KML file in Google Maps. First you should know about what is kml file format or what is kml data.

What is KML File?

KML stands for Keyhole Markup Language. It is is an XML notation for expressing geographic annotation and visualization within Internet-based, 2d and 3d earth browsers. You can view kml on google maps javascript easily.

Open kml file in google maps

To view KML on google maps you should serve your KML and KMZ files on public ip address. You can also use Google Docs to store and share KML files with others. My recommended technique is to:-

  • Create a folder and mark it for public access.
  • Use the Upload link to upload your KML files into this folder without conversion and shared with the world
  • Go to the Download link, copy it, and paste it into the Google Maps search box

The following asp.net web page displays how to open kml file using google maps javascript api v3 :-

Download Source Code

References:

Did you find this post useful? I hope you liked this article. Please share with me your valuable suggestions and feedback.

LEAVE A REPLY

Please enter your comment!
Please enter your name here