google maps - Android: myLocationOverlay.runOnFirstFix Too Slow -
does have ideas in speeding process setting initial point google maps, centering on current location. must possible works fine in native google maps app has noticeable delay in custom application using:
mylocationoverlay.runonfirstfix(new runnable() { public void run() { findme(); } });
where find me includes:
if(mylocationoverlay.getmylocation() != null){ mapview.getcontroller().animateto(mylocationoverlay.getmylocation()); }
as far know, native maps service , application loading on system startup , prepares in background wchich makes load maps faster. check in running processes in settings. cloud same or make dirty workaround wchich did once: display progress dialog before load (after setcontentview in onload) , close after done on map need ;)
Comments
Post a Comment