×

Discussion Board

Results 1 to 5 of 5

Thread: POI zoom

  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    1

    POI zoom

    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.

  2. #2
    Regular Contributor
    Join Date
    Aug 2011
    Location
    Berlin
    Posts
    289

    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 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.

  3. #3
    Registered User
    Join Date
    Aug 2012
    Posts
    13

    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
    Last edited by nicowitteman; 2013-02-23 at 12:46. Reason: Workaround added

  4. #4
    Regular Contributor
    Join Date
    Aug 2011
    Location
    Berlin
    Posts
    289

    Re: POI zoom

    Quote Originally Posted by nicowitteman View Post
    Hello Nokia, can we expect this bug to be fixed at all, or is the API not supported anymore?
    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 Originally Posted by nicowitteman View Post
    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;
    		}
    	}
    It overwrites the flags 1 - volgnr with the same coordinates until volgnr is reached.

    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.

  5. #5
    Regular Contributor
    Join Date
    Aug 2011
    Location
    Berlin
    Posts
    289

    Re: POI zoom

    The fix for this bug has now been released on the public server.

Similar Threads

  1. Zoom In Zoom Out Photo
    By sumeshchakra in forum Mobile Java General
    Replies: 1
    Last Post: 2010-05-13, 10:23
  2. Zoom In Zoom Out Photo
    By sumeshchakra in forum Mobile Java General
    Replies: 1
    Last Post: 2010-05-13, 09:48
  3. Image zoom in / zoom Out
    By damodharan in forum Symbian
    Replies: 2
    Last Post: 2009-12-16, 16:02
  4. Image Zoom in and Zoom out
    By Ashish_J2ME in forum Mobile Java General
    Replies: 5
    Last Post: 2006-05-19, 15:56
  5. zoom in or zoom out the image in 7650?
    By xrsu in forum Mobile Java General
    Replies: 1
    Last Post: 2002-09-24, 08:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×