Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
python encapsulation of the polymaps javascript library
Python JavaScript CSS
Branch: develop

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
tw2
.gitignore
CHANGELOG.rst
LICENSE.txt
MANIFEST.in
README.rst
setup.py

README.rst

tw2.polymaps

Author: Ralph Bean <rbean@redhat.com>

tw2.polymaps is a toscawidgets2 (tw2) wrapper for polymaps.

Live Demo

Peep the live demonstration.

Links

You can get the source from github, check out the PyPI page, and report or look into bugs.

Description

toscawidgets2 (tw2) aims to be a practical and useful widgets framework that helps people build interactive websites with compelling features, faster and easier. Widgets are re-usable web components that can include a template, server-side code and JavaScripts/CSS resources. The library aims to be: flexible, reliable, documented, performant, and as simple as possible.

polymaps is a JavaScript library for image- and vector-tiled maps using SVG.

This module, tw2.polymaps, provides toscawidgets2 (tw2) widgets that render polymaps maps!

Sampling tw2.polymaps in the WidgetBrowser

The best way to scope out tw2.polymaps is to load its widgets in the tw2.devtools WidgetBrowser. To see the source code that configures them, check out tw2.polymaps/tw2/polymaps/samples.py

To give it a try you'll need git, python, and virtualenvwrapper. Run:

$ git clone git://github.com/toscawidgets/tw2.polymaps.git
$ cd tw2.polymaps
$ mkvirtualenv tw2.polymaps
(tw2.polymaps) $ pip install tw2.devtools
(tw2.polymaps) $ python setup.py develop
(tw2.polymaps) $ paster tw2.browser

...and browse to http://localhost:8000/ to check it out.

Something went wrong with that request. Please try again.