evoweb-geoxml3
v1.0.0
Published
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 V
Downloads
156
Readme
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)
| branch|size(bytes)|size(lines)|notes|
|-----|-----------|---------|--------------------|
|trunk | 14960 bytes | 442 lines | old, not maintained|
|polys | 39099 bytes | 1094 lines | current|
|kmz | 70967 bytes | 1855 lines | current |
|groundoverlays require: |
|ProjectedOverlay.js |4165 bytes |138 lines||
|kmz files require unzip support: |
|ZipFile.complete.js | 75527 bytes | 2300 lines||
General Notes
Basic Usage
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).
Include it in your map page, something like this:
<script src="geoxml3.js"></script>
- Instantiate and initialize the object in JS, something like this:
var myParser = new geoXML3.parser({map: map});
myParser.parse('/path/to/data.kml');