facebook

Genuitec Cordova 2.9.1: Map Widget Zoom Error

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #347631 Reply

    Unknown Author
    Participant

    Whenever I change the zoom of a map widget under 2.9.1, the map widget centers on the lower-right coordinate of the initial map, rather than on the newly designated map center.

    Again, all of this map code was working just fine under previous versions.

    Specifically,

    
    gmap.setZoom()

    seems to be broken now.

    -1TC

    #347632 Reply

    Unknown Author
    Participant

    Additionally, when the zoom is changed, and

    gmap.center(pos)

    is used, it’s puting the center in the upper lefthand corner of the widget, rather than centering the map on that point.

    #347633 Reply

    Brandon
    Member

    Something like this was an issue before also, it was a rendering issue. Maybe the same thing…

    #347635 Reply

    Unknown Author
    Participant

    How was it resolved? Do I need DOM refresh on the widget?

    #347648 Reply

    Unknown Author
    Participant

    The app still works perfectly well in the mobile web emulator, including all Google Map commands, controls and markers. So, I’m hesitant to start changing code before we know if it’s something to do with the widget itself. However, my app is effectively broken until this is resolved.

    -1TC

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Genuitec Cordova 2.9.1: Map Widget Zoom Error

You must be logged in to post in the forum log in