Three easy steps to run MapViewer on Fiware:
Update ConionBroker Orion on your system
You must verify that the daemon and rdis are installed and running on your system.
You must create the correct boot sequence in init.d: ββredis, rush and contextBroker
After these steps, you can create your own view interface in Wirecloud using MapViewer, an NGSI source, and an NGSI object for POI.
You must correctly use structured JSON messages, as in the following example:
{ "contextElements": [ { "type": "iotdevice","isPattern": "false","id": "edison1", "attributes": [ { "name": "temperature", "type": "string", "value": "10" }, { "name" : "position", "type" : "coords", "value" : "-20, 35", "metadatas" : [ { "name" : "location", "type" : "string", "value" : "WSG84" } ] } ] } ], "updateAction": "APPEND" }
source share