-
POI zoom
Can't control zoom on POI maps, seems z= is ignored.
[URL="http://m.nok.it/?poix0=-28.00029,153.43088;fff;000;12;1;20&poix1=-31.95224,115.8614;fff;000;12&poix2=-27.46794,153.02809;fff;000;12&poix3=-37.814,144.96332;fff;000;12&poix4=-33.86785,151.20732;fff;000;12&"]See example[/URL]- notice there is too much margin around the POI's. The map needs to be zoomed in.
-
Re: POI zoom
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 [B]poix[/B] format.
Your URL [URL="http://m.nok.it/?poix0=-28.00029,153.43088;fff;000;12;1;20&poix1=-31.95224,115.8614;fff;000;12&poix2=-27.46794,153.02809;fff;000;12&poix3=-37.814,144.96332;fff;000;12&poix4=-33.86785,151.20732;fff;000;12"]here[/URL] takes the default zoom level of 10
If you use the original [B]poi[/B] parameter and set the colours using [B]poifc[/B] and [B]poitxc[/B], the map zooms correctly [URL="http://m.nok.it/?poi=-28.00029,153.43088,-31.95224,115.8614,-27.46794,153.02809,-37.814,144.96332,-33.86785,151.20732&w=240&h=320&nord&poifc=white&poitxc=black&poitxs=12"]like this[/URL]
So until a fix is available, I would suggest you stick to the [B]poi[/B] format. Incidentally this makes the URLs shorter as well.
-
Re: POI zoom
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
-
Re: POI zoom
[QUOTE=nicowitteman;911773]Hello Nokia, can we expect this bug to be fixed at all, or is the API not supported anymore?[/QUOTE]
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.
[QUOTE=nicowitteman;911773]I would like the poix for displaying a different number in the flag than the default nr 1.
Until then, I use this workaround:
[CODE]
if (this.jsonData.volgnr) {
url += "?poi=" + this.jsonData.poi;
for (var i=0;i<this.jsonData.volgnr;i++)
{
url += "," + this.jsonData.poi;
}
}
[/CODE]
It overwrites the flags 1 - volgnr with the same coordinates until volgnr is reached.
[/QUOTE]
Although the standard [B]poi[/B] is less flexible than an extended poi ([B]poix[/B]) , it still has several flags defined in the [URL="http://developer.here.com/docs/map_image/index.html#topics/resource-map.html"]API Reference[/URL], so if you just want to use letters rather than number just add [B]poilbl=1[/B] to your URL.