Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Apps
-
HD-Enabler:Wirecloud
Description
Created question in FIWARE Q/A platform on 05-08-2015 at 13:08
Please, ANSWER this question AT https://stackoverflow.com/questions/31831356/canot-see-any-poi-on-wirecloud-map-viewer-using-madrid-example
Question:
Canot see any POI on Wirecloud Map Viewer, using Madrid example
Description:
im taking my firsts steps, working with mashup wirecloud.
I successfully finished the Santander POI example, could see all the POI on the map viewer, the info on each POI, and the chart info.
Then i proceeded for the Madrid example, in which i had to first create the entity on context broker etc, And this is the one where i am having problems.
My curl request to create entity:
(curl localhost:1026/v1/updateContext s -S --header 'Content-Type: application/json' --header 'Accept: application/json' -d @ | python -mjson.tool) <<EOF
{
"contextElements": [
{
"type": "City",
"isPattern": "false",
"id": "Madrid",
"attributes": [
{
"name": "position",
"type": "coords",
"value": "40.418889, -3.691944",
"metadatas": [
]
}
]
}
],
"updateAction": "APPEND"
}
EOF
I can see that the info is reachable, by using for example the NGSI Browser widget, i can see the entity Madrid of type City, with attributes position, and value of the coords, but cannot see the POI on map viewer.
My Mashup config:
NGSI Source:
NGSI server URL: http://130.206.117.220:1026
NGSI proxy URL: https://ngsiproxy.lab.fiware.org
Use the FIWARE credentials of the user: yes
NGSI entity types: City
Monitored NGSI Attributes: position
NGSI entity to POI:
Coordinates attribute: position
Before posting this question, i looked over all the similar questions in stack overflow, but none of the answers i saw helped so far.
Thank you in advanced for your help.
Activity
- All
- Comments
- History
- Activity
- Transitions