GitXplorerGitXplorer
s

leaflet-geojson-ld

public
8 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
e30014d985a85af3186f2cb9da78a310114d5831

Remove javascript modules.

ssgillies committed 10 years ago
Unverified
99e0557431b449e5347d30787981402ecedfe242

Remove index.html from master.

ssgillies committed 10 years ago
Unverified
242a620eb8a137d24ee24d1b7cf24036cad11706

Merge branch 'gh-pages'

ssgillies committed 10 years ago
Unverified
0133edeb37e7f599c7318eef6d3fd9b112b6251a

Readme update.

ssgillies committed 10 years ago
Unverified
8749bfc1cb2ba04f35123fe816179550b386e236

Try to avoid expansion of coordinates array.

ssgillies committed 10 years ago
Unverified
a5dbfd3ce8eddaaff34198c4236dbfd8d322572b

Switch to operating on compacted form.

ssgillies committed 11 years ago

README

The README file for this repository.

A GeoJSON-LD Plugin for Leaflet

This is a substitute for Leaflet's existing GeoJSON layer. It adds layer data based the JSON-LD expanded form of the provided GeoJSON, looking for, e.g., a list of map features in 'http://ld.geojson.org/vocab#features' instead of 'features'.

The jsonld.js library requires a modification so that it doesn't flatten nested lists of coordinates. Nested lists aren't supported in JSON-LD, but the library has no option for passing such data through.

The plugin is developed in this repository's gh-pages branch.