I am trying to show an object stored in my OrionContextBroker instance in Wirecloud MapViewer widgets. I am creating a context using this JSON POST REST request for miOrionInstance: 1026 / v1 / updateContext as follows:
{ "contextElements": [ { "type": "Room", "isPattern": "false", "id": "Room1", "attributes": [ { "name": "position", "type": "string", "value": "43.47258, -3.8026643" } ] } ], "updateAction": "APPEND" }
I can retrieve this information through the NGSIUpdater widget without problems, but I cannot show this entity in the MapViewer widget. I tried to associate the NGSISource operator with the NGSIEntityToPol operator and, finally, with the MapViewer widget (in the Insert / Update centered Pol field). NGSISource statement configuration:
NGSI server URL: http://miOrionInstanceIP:1026 NGSI proxy URL: http://ngsiproxy.lab.fi-ware.org NGSI entity types: Room Id Pattern: Monitored NGSI Attribures: position
And the configuration of the NGSIEntityToPol statement is as follows:
Coordinates attribute: position
But nothing is displayed on the map.
Thanks,
source share