I need to create a POI but without the coordinates. I need show in map all parks...
How can this do?
Printable View
I need to create a POI but without the coordinates. I need show in map all parks...
How can this do?
What excatly do you mean by that ? can you specify a bit more on your requirements & use case ?
map.createPoi(nokia.mh5.assetsPath +
"img/categories/business-services.png", {
longitude: 13.3896145,
latitude: 52.5166648,
name: "Nokia Office"
});
But I need add all Parks in map...and I dont have the coordinates...In this code I need the longitude and latitude
Where do you get the parks data from ?
Basically if you have a place without location, its pretty useless with maps services, so I'm not certain I would understand what the goal is that you are trying to get to.
Example: I need show all results of word "park" in map
So, then where do you get the results from ?
And what kind of data do you get ?
Basically our Places-search would return results that do contain either location, or bounding area. And basically you could create map objects to show for both. For Areas, you could for example use polygons to illustrate where it is, also you could add general markers inside them if required.
I wanna get the result from MH5 API...When I search "park" in a Google Maps API ...its return the result...I wanna do this with MH5 API...
It is a bit hard to decode while you would need POI-s without location for that. You say you want to show parks on the map. It (showing) certainly implies that they do have a location. And it goes well with reality too, parks do have a location in real life.