GeoJSON Module

Author: Earthware Ltd.

Category: Data

Module Size: 9 kb (minified 4 kb)

Dependencies: jQuery

Description:

This module allows you to import GeoJSON files into Bing Maps. A GeoJSON feed will be downloaded  and parsed into an EntityCollection which can then be added to the map. Additional properties are  captured and stored in a Metadata tag on each shape making it easy to relate shapes to their metadata.

Supported GeoJSON Tags:

  • Point
  • MultiPoint
  • LineString
  • MultiLineString
  • Polygon
  • MultiPolygon
  • Geometry Collection
  • Feature
  • Feature Collection

Note this also supports complex polygons (polygons with holes).

Download:

    BMv7.GeoJSON.zip

Last edited May 26, 2012 at 7:14 AM by rbrundritt, version 4

Comments

No comments yet.