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).

Last edited Feb 8 at 10:41 PM by rbrundritt, version 6

Comments

No comments yet.