facebook

Error using gmap (SOLVED)

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    cor9003
    Member

    Hello, I’m using gmap as plugin to develop and is happening something very curios.

    If I call the mobi screen that contain the plugin map all works fine, but when I call the same screen from a button in a previous screen it doesn´t work.

    I’ ve isolated the issue and create and small project in order you can reproduce this issue that I attach you.
    If you run the mobi screen called “ebooking_gps_polyline” directly it works properly showing a map, but if you run the mobi screen named “first” (only has a button to call the other screen) it is not works anymore.

    Please, can you help me ?

    Attachments:
    You must be logged in to view attached files.
    #349351

    Hi cor9003,

    To initialize gmap correctly, the parent element for it must be visible.
    You need to move initialization code into post transition function. See attached modified project.

    Attachments:
    You must be logged in to view attached files.
    #349360

    cor9003
    Member

    Yes, you are right. Working properly now

    Thanks
    David

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Error using gmap (SOLVED)

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