Commits on Jun 14, 2011
  1. Merge branch 'release'

    committed Jun 14, 2011
Commits on Apr 11, 2011
  1. 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. Merge branch 'mbostock-master'

    committed Apr 11, 2011
Commits on Apr 8, 2011
  1. Resize on load.

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

    committed Apr 8, 2011
  3. 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.
    committed Apr 8, 2011
  4. 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.
    committed Apr 8, 2011
  5. 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.
    committed Apr 8, 2011
Commits on Apr 7, 2011
  1. 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.
    committed Apr 7, 2011
  2. Add html doctype.

    committed Apr 7, 2011
Commits on Feb 12, 2011
  1. Add example of zoom-to-feature.

    committed Feb 12, 2011
Commits on Jan 19, 2011
  1. Merge branch 'master' of

    committed Jan 19, 2011
Commits on Dec 9, 2010
  1. 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
  2. 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. 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
    jasondavies committed Dec 7, 2010
Commits on Nov 27, 2010
  1. 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. Add `repeat` property to po.url.

    True by default. Can be set to false to disable column wrap-around.
    committed Nov 26, 2010
Commits on Oct 10, 2010
  1. Remove obsolete .gitignore.

    committed Oct 10, 2010
  2. Tweak README.

    committed Oct 10, 2010
  3. Update README.

    committed Oct 10, 2010
  4. Remove www.

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

    committed Oct 9, 2010
Commits on Sep 30, 2010
  1. Update links to

    committed Sep 30, 2010