[ https://jira.fiware.org/browse/HELP-9347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez resolved HELP-9347.
----------------------------------
Resolution: Done
> [fiware-stackoverflow] Canot see any POI on Wirecloud Map Viewer, using Madrid example
> --------------------------------------------------------------------------------------
>
> Key: HELP-9347
> URL: https://jira.fiware.org/browse/HELP-9347
> Project: Help-Desk
> Issue Type: Monitor
> Components: FIWARE-TECH-HELP
> Reporter: Backlog Manager
> Labels: fiware, fiware-orion, fiware-wirecloud
>
> Created question in FIWARE Q/A platform on 05-08-2015 at 13:08
> {color: red}Please, ANSWER this question AT{color} 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": [
> {
> "name": "location",
> "type": "string",
> "value": "WGS84"
> }
> ]
> }
> ]
> }
> ],
> "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.
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy