好吧,我正在尝试显示以下实体:
{
"contextResponses" : [
{
"contextElement" : {
"type" : "City",
"isPattern" : "false",
"id" : "Miraflores",
"attributes" : [
{
"name" : "position",
"type" : "coords",
"value" : "-12.119816, -77.028916",
"metadatas" : [
{
"name" : "location",
"type" : "string",
"value" : "WSG84"
}
]
}
]
},
"statusCode" : {
"code" : "200",
"reasonPhrase" : "OK"
}
}
]
}
使用 MapViewer 小部件(插入/更新 PoI)将 NGSI 源和 NGSI 实体连接到 Poi 操作员,并具有以下设置:
NGSI 来源
- NGSI 服务器 URL:mydirection :1026
- NGSI 代理网址: http ://mashup.lab.fi-ware.org:3000/
- NGSI 实体:城市
- NGSI 属性:位置
NGSI 实体到 Poi
- 坐标属性:位置
但是地图上什么也没有!有人可以帮我找出问题所在吗?