javascript - Google maps is not 100% Loaded when you start Android . (not always) -


i have problem map contains geo-location, directions , markers. map start screen directly shown after app launches. want map show geolocation (position) , markers, have reload (ripple emulator), see want. after app launches, map clear , no geolocation or markers shown.

i think script may not load 100%, works without giving me problem.

i use cordova, initialize map in classic way bottom script:

google.maps.event.adddomlistener(window, 'load', initialize); 

and call :

<div id="map-canvas"></div> 

api , script , put code on top of page.

apparently not work @ all, in device map not load function or disappear when "zoom " , runs slowly


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -