vstion / android-locus-map

Automatically exported from code.google.com/p/android-locus-map
0 stars 0 forks source link

Request to have the UI updates not auto zoom and pan #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have an issue using the developer api.  It works great, however, anytime i 
send data to Locus, it automatically brings Locus activity to the front (big 
problem), centers the display on the new object draw, and zooms the map to fit 
the entire feature in the window.  

Is it possible to not have these automatically happen?  I would like Locus to 
remain in the background, and have the tracks and points update, but not have 
the Locus map move.  It makes it hard because I'm using it as a real-time 
display, so points and tracks are being added and updated in the background, 
and i can't move around the display because Locus is auto-zooming and panning.

Original issue reported on code.google.com by greve....@gmail.com on 13 Dec 2012 at 5:27

GoogleCodeExporter commented 9 years ago
Looks like SendDataSilent will prevent LocusPro activity from being brought to 
the front, but it still centers and zooms on the new tracks.

Original comment by greve....@gmail.com on 13 Dec 2012 at 5:49

GoogleCodeExporter commented 9 years ago
The call importFileLocus does not have a "silent" option.  As a result, Locus 
pro always comes back to be the top activity, I can't interact with other apps 
while it's being updated in the background.

Original comment by greve....@gmail.com on 14 Dec 2012 at 2:41

GoogleCodeExporter commented 9 years ago
"still centers and zooms on the new tracks" - this issue will be fixed in next 
Locus version 2.8.4. "Silent" methods are only for direct display of items on 
map and should not have effect on centering, zoom, etc.

"The call importFileLocus does not have a "silent" option" - it's correct. As I 
wrote above, "Silent" methods use "Broadcast intent" method, so they do not 
need to bring Locus into foreground. But they also do not start Locus if is not 
running!

Original comment by menion.asamm on 30 Dec 2012 at 12:54