Skip to content

albertsun/gmap-features

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
A library for creating Polygon features on a Google Map.

Supports mouseover and click events and having one selected polygon at a time.

Can provide options to style the polygons in each of the three states, and a callback function to do something upon highlighting or selecting a polygon.

Requires jQuery to be available to use KML files

Uses code extracted from http://censusmapmaker.com/ and http://graphicsweb.wsj.com/documents/MTAFARES1108/

MIT License



If you want to tinker with the code, the file in src/ includes each js file separately. To build them into the final gmap-features.min.js file run ./build.sh
That'll need a the $CLOSURE_PATH for Google's Closure Compiler set. Put something like the below in your .bash_profile
export CLOSURE_PATH='/Users/suna/stuff/closure-compiler/compiler.jar'

About

Library for using Google Maps API V3 Polygon's to make chloropleth maps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published