Implementation of Jarke J. van Wijk and Wim A.A. Nuij's smooth and efficient zooming and panning for Polymaps.
Type a place name in the search box, top right, and hit "Go!" to fly there.
| Spring STOMP chat |
| <!-- | |
| This page licensed CC0 http://creativecommons.org/publicdomain/zero/1.0/ | |
| Some of the javascript code based of examples at http://polymaps.org/ex/ | |
| This is just a prototype/technology test. It probably isn't the cleanest solution... | |
| TODO: | |
| * Ctrl + click and drag should rotate the map just like the keys do | |
| * add perspective option | |
| --> |
| public class Animal { | |
| private String name; | |
| private int age; | |
| public Animal() { | |
| name = "Name " + System.currentTimeMillis(); | |
| age = (int) +System.currentTimeMillis(); | |
| } |
| So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear! | |
| Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy. | |
| * Off the top of my head * | |
| 1. Fork their repo on Github | |
| 2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it | |
| git remote add my-fork [email protected] |
Implementation of Jarke J. van Wijk and Wim A.A. Nuij's smooth and efficient zooming and panning for Polymaps.
Type a place name in the search box, top right, and hit "Go!" to fly there.
| $('.splitter').draggable({ | |
| axis: 'x', | |
| containment: '#content', | |
| distance: 0, | |
| drag: function(event, ui) { | |
| var width = $('#content').width(); | |
| $('#content .leftpane').css({ width: ui.position.left + 'px' }); | |
| $('#content .rightpane').css({ | |
| left: ui.position.left + 1 + 'px', | |
| width: (width - ui.position.left + 1) + 'px' |