Page 1 of 1

Google Maps not displaying correctly

Posted: Thu May 29, 2014 4:02 am
by sergio vazquez

These are the symptoms:
When I open the first map everithing is ok, but when I open the 2nd, 3rd, etc.. they don ́t display in the correct way. It looks cut off and without the marker.
Same thing happends in the web version, QR for the mobile version, and downloading and exporting using xCode.
What can I do to fix this problem?

Thnx a lot.


Google Maps not displaying correctly

Posted: Thu May 29, 2014 4:51 am
by Yurii Orishchuk

Hi Sergio.

It is your app specific issue.

So to understand what is wrong in your implementation you have to give us:

1 your app public link.

2 steps to reproduce the problem.

Thanks and regards.


Google Maps not displaying correctly

Posted: Thu May 29, 2014 5:03 am
by sergio vazquez

Sure, here ́s the link:
http://appery.io/app/mobile-frame?src...

Step 1
Go to the panel Interés General Centro y Plaza Benito Juarez
Scroll down to "Ubicación"
Here you will see the map working great.

Step 2
Go to the panel Interés General El Kiosco y la Fuente
Scroll down to "Ubicación"
And the map is incomplete.

You can go to other places under "Interés General" and the maps won ́t work properly.

But if you close the app and open it again and go to any other place under "interes general" it will work perfectly THE FIRST TIME, but the other places won ́t work like they should. Image


Google Maps not displaying correctly

Posted: Thu May 29, 2014 8:57 pm
by Yurii Orishchuk

Hi Sergio.

Working on it.

Give you answer asap.

Regards.


Google Maps not displaying correctly

Posted: Thu May 29, 2014 9:35 pm
by sergio vazquez

Thnx a lot.


Google Maps not displaying correctly

Posted: Thu May 29, 2014 10:14 pm
by Yurii Orishchuk

Sergio,

You using a lot of similar page with just a diffrent content.

That's not good way but can be used when there is finite count of these pages.

It's recomended to use one page with diffrent content. See how to do it here: http://devcenter.appery.io/tutorials/...

Please add to all of your pages with google map component following code in "page show" event:

precode

//Where "googlemap_36" is google map component on this page.
Apperyio("googlemap_36").refresh();

/code/pre

Note you should replace "googlemap_36" name with gmap name on this current page.

Regards.


Google Maps not displaying correctly

Posted: Fri May 30, 2014 1:22 am
by sergio vazquez

Thnx Yurii! Worked great!