Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simplegeo/polymaps
Polymaps is a free JavaScript library for making dynamic, interactive maps in modern web browsers.
https://github.com/simplegeo/polymaps
Last synced: 28 days ago
JSON representation
Polymaps is a free JavaScript library for making dynamic, interactive maps in modern web browsers.
- Host: GitHub
- URL: https://github.com/simplegeo/polymaps
- Owner: simplegeo
- License: other
- Created: 2010-07-16T01:40:27.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2023-07-26T06:25:28.000Z (over 1 year ago)
- Last Synced: 2024-10-01T15:40:15.331Z (about 1 month ago)
- Language: JavaScript
- Homepage: http://polymaps.org/
- Size: 9.9 MB
- Stars: 1,601
- Watchers: 54
- Forks: 213
- Open Issues: 69
-
Metadata Files:
- Readme: README.mkd
- License: LICENSE
Awesome Lists containing this project
- awesome-javascript - polymaps - Polymaps is a free JavaScript library for making dynamic, interactive maps in modern web browsers. - ★ 1510 (Maps)
README
# Polymaps
Polymaps is a free JavaScript library for making dynamic, interactive maps in
modern web browsers. See for more details.This is the `master` branch, which contains the Polymaps source code. If
you're looking for the Polymaps website, you should checkout the `gh-pages`
branch instead.## Viewing Examples
You'll find lots of Polymaps examples in the suitably-named `examples`
directory. Open any of the HTML files there in your browser to view the
examples, or open them in your text editor of choice to view the source. Most
of the examples are replicated on the [Polymaps website](http://polymaps.org),
though a few of them are only visible locally.Some of the examples depend on third-party libraries, such as jQuery. These
third-party libraries are not required to use Polymaps but can certainly make
it easier! All third-party libraries should be stored in the `lib` directory,
with an associated `LICENSE` file and optional `README`.## Filing Bugs
We use GitHub to track issues with Polymaps. You can search for existing
issues, and file new issues, here:
You are welcome to file issues either for bugs in the source code, feature
requests, or issues with the Polymaps website.## Support
If you have questions or problems regarding Polymaps, you can get help by
joining the `#polymaps` IRC channel on irc.freenode.net. You are also welcome
to send GitHub messages or tweets to `mbostock`.## Build Instructions
You do not need to build Polymaps in order to view the examples; a compiled
copy of Polymaps (`polymaps.js` and `polymaps.min.js`) is included in the
repository.To edit and build a new version of Polymaps, you must first install Java and
GNU Make. If you are on Mac OS X, you can install Make as part of the UNIX
tools included with
[XCode](http://developer.apple.com/technologies/xcode.html). Once you've setup
your development environment, you can rebuild Polymaps by running the
following command from the repo's root directory:make
The Polymaps build process is exceptionally simple. First, all the JavaScript
files are concatenated (using `cat`); the order of files is important to
preserve dependencies. This produces the file `polymaps.js`. Second, this file
is put through Google's [Closure
Compiler](http://code.google.com/closure/compiler/) to minify the JavaScript,
resulting in a smaller `polymaps.min.js`.If you are doing development, it is highly recommended that you use the
non-minified JavaScript for easier debugging. The minified JavaScript is only
intended for production, where file size matters. Note that the development
version is marked as read-only so that you don't accidentally overwrite your
edits after a re-build.