https://github.com/jmcanterafonseca/leaflet-context-information
A Leaflet plugin + infrastructure for getting access to Context Information (i.e. data) exposed through FIWARE NGSIv2
https://github.com/jmcanterafonseca/leaflet-context-information
context data fiware information leaflet map open visualization web
Last synced: 2 months ago
JSON representation
A Leaflet plugin + infrastructure for getting access to Context Information (i.e. data) exposed through FIWARE NGSIv2
- Host: GitHub
- URL: https://github.com/jmcanterafonseca/leaflet-context-information
- Owner: jmcanterafonseca
- License: mit
- Created: 2017-05-22T16:44:02.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-26T08:00:28.000Z (over 8 years ago)
- Last Synced: 2025-02-17T16:11:14.590Z (over 1 year ago)
- Topics: context, data, fiware, information, leaflet, map, open, visualization, web
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Leaflet plugin for displaying real time context information
[![MIT license][license-image]][license-url]
A Leaflet plugin + infrastructure for getting access to Context Information exposed using the FIWARE NGSIv2 APIs.
# How to use it
```
bower install leaflet-context-information
```
```js
var ngsiv2Layer = L.fiwareContextLayer({
endPoint: 'http://localhost:1026',
tenant: 'Bicycle',
subTenant: '/Barcelona',
entityType: 'BikeHireDockingStation',
iconUrl: 'imgs/marker.png',
attrs: ['availableBikeNumber']
});
ngsiv2Layer.addTo(map);
```
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg
[license-url]: LICENSE