Coder Social home page Coder Social logo

jasondavies / polymaps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simplegeo/polymaps

6.0 4.0 2.0 10.4 MB

Polymaps is a free JavaScript library for making dynamic, interactive maps in modern web browsers.

Home Page: http://polymaps.org/

License: Other

JavaScript 100.00%

polymaps's Introduction

Polymaps

Polymaps is a free JavaScript library for making dynamic, interactive maps in modern web browsers. See http://polymaps.org 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, 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:

http://github.com/simplegeo/polymaps/issues

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. 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 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.

polymaps's People

Contributors

jasondavies avatar joestump avatar mbostock avatar migurski avatar randometc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.