Can't control zoom on POI maps, seems z= is ignored.
See example- notice there is too much margin around the POI's. The map needs to be zoomed in.
Can't control zoom on POI maps, seems z= is ignored.
See example- notice there is too much margin around the POI's. The map needs to be zoomed in.
On further investigation I have to agree, this definitely looks like a bug. I have raised the issue internally with the team concerned with the ticket number MOS-10464.
There is a workaround however, as the non-zooming issue is only affecting URLs using the extended POI poix format.
Your URL here takes the default zoom level of 10
If you use the original poi parameter and set the colours using poifc and poitxc, the map zooms correctly like this
So until a fix is available, I would suggest you stick to the poi format. Incidentally this makes the URLs shorter as well.
Hello Nokia, can we expect this bug to be fixed at all, or is the API not supported anymore?
I would like the poix for displaying a different number in the flag than the default nr 1.
Until then, I use this workaround:
if (this.jsonData.volgnr) {
url += "?poi=" + this.jsonData.poi;
for (var i=0;i<this.jsonData.volgnr;i++)
{
url += "," + this.jsonData.poi;
}
}
It overwrites the flags 1 - volgnr with the same coordinates until volgnr is reached.
Nico Witteman
Last edited by nicowitteman; 2013-02-23 at 11:46. Reason: Workaround added
As mentioned in the previous post, this bug has been raised internally with the ticket number MOS-10464, and will be fixed as part of the Map Image API backlog. The bug is unlikely to be fixed in the current release cycle, since the latest update to the API is already due for an imminent release. Public exposure of a tracker for bug fixes (such as this) is another backlog item which I'm pressing for, which would mean you could see directly what state the bug fix is at.
Although the standard poi is less flexible than an extended poi (poix) , it still has several flags defined in the API Reference, so if you just want to use letters rather than number just add poilbl=1 to your URL.