1.0.0 • Published 6 years ago

evoweb-geoxml3 v1.0.0

Weekly downloads
20
License
GPL-2.0-or-later
Repository
github
Last release
6 years ago

geoxml3

The geoxml3 project is an effort to develop a KML processor for use with Version 3 of the Google Maps JavaScript API. This API is specifically designed to be lightweight and modular; accordingly, it did not originally contain the built-in KML support of Version 2. This library was originally intended to fill that need; as KML support has been added natively in Version 3, it now allows access to individual markers, polylines and polygons, rendered from KML. (Automatically exported from code.google.com/p/geoxml3 )

Original code inspired by Mike Williams' EGeoXml object (http://econym.org.uk/gmap/egeoxml.htm).

History

Statistics (3/16/2012)

branchsize(bytes)size(lines)notes
trunk14960 bytes442 linesold, not maintained
polys39099 bytes1094 linescurrent
kmz70967 bytes1855 linescurrent
groundoverlays require:
ProjectedOverlay.js4165 bytes138 lines
kmz files require unzip support:
ZipFile.complete.js75527 bytes2300 lines

General Notes

Basic Usage

  1. Download geoxml3.js to your web site from the Source tab above. You may also need ProjectedOverlay.js and/or ZipFile.complete.js (see above).

  2. Include it in your map page, something like this:

<script src="geoxml3.js"></script>
  1. Instantiate and initialize the object in JS, something like this:
var myParser = new geoXML3.parser({map: map});
myParser.parse('/path/to/data.kml');