Permalink
Commits on Jun 14, 2011
  1. @mbostock

    Merge branch 'release'

    mbostock committed Jun 14, 2011
  2. @mbostock
Commits on Apr 11, 2011
  1. @jasondavies

    Fix for lack of `overrideMimeType` in IE9.

    IE9 doesn't support it, so just ignore it instead of throwing an error.
    jasondavies committed Apr 11, 2011
  2. @jasondavies
  3. @mbostock

    Merge branch 'mbostock-master'

    mbostock committed Apr 11, 2011
Commits on Apr 8, 2011
  1. @mbostock

    Resize on load.

    This fixes a bug with Opera where the map size was empty.
    mbostock committed Apr 8, 2011
  2. @mbostock

    Enable repeat.

    mbostock committed Apr 8, 2011
  3. @mbostock

    A different hack for reliable mousewheel.

    Wheel events are utterly broken. Even though WebKit's mousewheel precision bug
    has been fixed, Chrome and Safari still differ in terms of mousewheel
    acceleration. Safari and Firefox report the correct value (the number of pixels
    that would be scrolled), but Chrome does not. I've not tested Opera or IE9.
    
    Fortunately, we can determine exactly the number of pixels that would be
    scrolled by dispatching the mousewheel event to a scrollable area, and then
    observing the change in scrollTop. However, dispatching the received event is
    not strictly allowed, so ignore this error and hope for the best.
    mbostock committed Apr 8, 2011
  4. @mbostock

    Use touch event's scale and rotation fields.

    Thanks to @natevw, I see there are `scale` and `rotation` fields on the touch
    event that we can use to compute the zoom and angle offsets more easily. Also,
    this commit updates the example to auto-detect retina displays using the
    devicePixelRatio field of the current window.
    mbostock committed Apr 8, 2011
  5. @mbostock

    Add double-tap & rotation support.

    Rotation isn't enabled by default, since it's kinda crazy! And unfortunately,
    the JavaScript touch API doesn't support `tapCount`, so we have to detect
    double-tap events manually by checking for a 300ms delay between single touches.
    mbostock committed Apr 8, 2011
  6. @mbostock
Commits on Apr 7, 2011
  1. @mbostock

    Touch support!

    This adds basic touch support, including single touch (pan) and double touch
    (pan and zoom). In a future change, I'd also like to support rotation for double
    touch, and double-tap to snap to the nearest integer zoom level. This commit
    also includes a simple example that shows how to specify 2x resolution tiles for
    the iPhone 4's retina display.
    mbostock committed Apr 7, 2011
  2. @mbostock

    Add html doctype.

    mbostock committed Apr 7, 2011
Commits on Feb 12, 2011
  1. @mbostock
  2. @mbostock

    Add example of zoom-to-feature.

    mbostock committed Feb 12, 2011
Commits on Jan 19, 2011
  1. @mbostock

    Merge branch 'master' of github.com:simplegeo/polymaps

    Conflicts:
    	polymaps.js
    	polymaps.min.js
    	src/start.js
    mbostock committed Jan 19, 2011
  2. @mbostock
Commits on Dec 9, 2010
  1. @jasondavies
  2. @jasondavies
  3. @jasondavies

    Refactoring based on feedback from Mike and Tom.

    Rename `parse` -> `parser`, `format` -> `formatter`.  Parser now calls
    `map` setters instead of returning an array.
    jasondavies committed Dec 9, 2010
  4. @jasondavies
  5. @jasondavies

    Detect invalid args in `po.hash()`.

    For example, if a non-array is returned by `parse`.
    jasondavies committed Dec 9, 2010
Commits on Dec 7, 2010
  1. @jasondavies

    Add `parse` and `format` properties to `po.hash()`.

    These can be used to override the default location hash formatting e.g.
    to add other parameters.  As `parse` is called every time the location
    hash changes, it can be used to detect other parameters at the same
    time.
    jasondavies committed Dec 7, 2010
Commits on Nov 27, 2010
  1. @mbostock
  2. @jasondavies

    Treat null `url` for `po.image` as empty tiles.

    Instead of setting the image URL to `about:blank`, no image URL is set
    when `null` URLs are detected.  This appears to be slightly faster than
    using `about:blank`, at least in Firefox.  I've updated `po.image`'s
    `repeat` accordingly.
    jasondavies committed Nov 27, 2010
Commits on Nov 26, 2010
  1. @mbostock

    Add `repeat` property to po.url.

    True by default. Can be set to false to disable column wrap-around.
    mbostock committed Nov 26, 2010
Commits on Oct 10, 2010
  1. @mbostock
  2. @mbostock
  3. @mbostock

    Remove obsolete .gitignore.

    mbostock committed Oct 10, 2010
  4. @mbostock
  5. @mbostock

    Tweak README.

    mbostock committed Oct 10, 2010
  6. @mbostock

    Update README.

    mbostock committed Oct 10, 2010
  7. @mbostock

    Remove www.

    This content has been moved to the gh-pages branch.
    mbostock committed Oct 10, 2010
Commits on Oct 9, 2010
  1. @mbostock

    Remove unused variable.

    mbostock committed Oct 9, 2010
Commits on Sep 30, 2010
  1. @mbostock

    Update links to cloudmade.com.

    mbostock committed Sep 30, 2010