Commits on Dec 9, 2010
  1. Refactoring based on feedback from Mike and Tom.

    jasondavies committed Dec 9, 2010
    Rename `parse` -> `parser`, `format` -> `formatter`.  Parser now calls
    `map` setters instead of returning an array.
  2. Detect invalid args in `po.hash()`.

    jasondavies committed Dec 9, 2010
    For example, if a non-array is returned by `parse`.
Commits on Dec 7, 2010
  1. Add `parse` and `format` properties to `po.hash()`.

    jasondavies committed Dec 7, 2010
    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
Commits on Oct 10, 2010
  1. Remove obsolete .gitignore.

    mbostock committed Oct 10, 2010
  2. Tweak README.

    mbostock committed Oct 10, 2010
  3. Update README.

    mbostock committed Oct 10, 2010
  4. Remove www.

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

    mbostock committed Oct 9, 2010
Commits on Sep 30, 2010
Commits on Sep 25, 2010
  1. Add Hilbert curve example.

    mbostock committed Sep 25, 2010
  2. Fixed-scale points for GeoJSON layers.

    mbostock committed Sep 25, 2010
    GeoJSON layers can now have scale("fixed"), which renders Point and MultiPoint
    features at fixed scale, rather than varying with zoom level. This is nice for
    markers (think map push-pins) where you want the marker to remain fixed-size
    independent of zoom.
    This feature is implemented by listening to the new layer "move" event, which is
    identical to the map's "move" event except guarantees that listeners are
    executed after the layer has updated its tiles. This way, the GeoJSON layer can
    append a scale() transform to the Point and MultiPoint features that undoes the
    default zoom scaling.
Commits on Sep 23, 2010
  1. Fix a bug with default geoJson settings.

    mbostock committed Sep 23, 2010
    The default URL for geoJson layers was "about:blank"; this causes a security
    exception when issuing an XMLHttpRequest from another domain. The new default
    URL is null, which avoids any XMLHttpRequest and just creates blank tiles. In
    addition, setting the features property to a non-null value has the side-effect
    of setting the URL to null and vice versa.
    For consistency, the default URL for image layers is now also null, which causes
    no image to be loaded. This commit also fixes a bug when the URL is a string
    with no placeholders, allowing simple repeating image tiles to be created.
Commits on Sep 22, 2010
  1. Checkpoint geoJson.scale("fixed") support.

    mbostock committed Sep 22, 2010
    This allows GeoJSON markers to remain fixed size when zooming.
Commits on Sep 21, 2010
  1. Add a marker icon example.

    mbostock committed Sep 21, 2010
  2. Use getBBox instead of getClientRects.

    mbostock committed Sep 21, 2010
    After some browser testing and a closer reading of the CSSOM specification, it
    turns out Firefox was correctly reporting the size of the tight SVG bounding
    box, while WebKit was returning (incorrectly) the size of the SVG container. We
    now use `rect.getBBox` on all browsers, which is much more reliable!
Commits on Sep 20, 2010
  1. Update style.css for IE9.

    mbostock committed Sep 20, 2010
  2. Bind the loupe to a point, rather than a location.

    mbostock committed Sep 20, 2010
    This way, the loupe feels more like a user interface element rather than a
    feature of the underlying map, and it doesn't move unexpectedly when the
    underlying map is panned or zoomed.
    This commit also includes support for a loupe `zoomDelta`, for magnification or
  3. Allow loupe to be resized.

    mbostock committed Sep 20, 2010