- Maps - Google Maps
·Map Script Writers
·Bing Maps
·Google Maps
Mail List


Basic Google Map (v3) Sourced from KML File
KML (Keyhole Markup Language) files can be used as the source for your Google Maps. You can simply link your KML (or KMZ) file through Google Maps directly via a URL like this or the KML can be embedded into your web page. Below is an example that utilizes a KML file that has the locations and icons for all 50 US state Capitols and all of the basic code needed to embed it within your page. The KML file is available to view within Google Earth or download from this location
View the Output
Text View
Print View
Mail this Link

<!DOCTYPE html>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title> - Google Map with KML Source</title>
<link href="" rel="stylesheet" type="text/css" />
<!-- Reference to the map control -->
<script type="text/javascript" src=""></script>
<!-- A sensor value is required. True indicates that your application is using a sensor
(such as a GPS locator) to determine the user's location. False indicates that you are not-->
<script type="text/javascript">
function initialize() {
var myOptions =
mapTypeId: google.maps.MapTypeId.ROADMAP
// sets the type of map to be displayed
// HYBRID - displays a transparent layer of major streets on satellite images
// ROADMAP - displays a normal street map
// SATELLITE - displays satellite images
// TERRAIN - displays maps with physical features such as terrain
var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);

var KML_Layer = new google.maps.KmlLayer('');
<body onload="initialize()">
<div id="map_canvas"></div>

<!-- -->


ASP: What's New? | Articles | Script Writers | Database Display | Read/Write
Server Variables | Response Objects | Random Events | Miscellaneous
HTML: Forms | Hyperlinks | Headers | Tables | Hyperlinks | Headers | Text Display
JavaScript: Document Info | Forms | Images | Navigation | Script Writers
CSS: Basics | Page Display | Text Display | Script Writers | Miscellaneous
  • 2014 michael kors
  • air max women 2013
  • 2014 michael kors
  • air max 2014
  • oakley glasses
  • oakley glasses

  • Maps: Map Script Writers | Bing Maps | Google Maps
  • bottes fr
  • ugg boot
  • Privacy Statement is hosted by
    Donate Food Online with a Mouse Click at
    Donate Land Online with a Mouse Click at
    © 1999 - 2018
    All Rights Reserved