Developer API to not control display

Started by trogdan, December 13, 2012, 18:26:34

0 Members and 1 Guest are viewing this topic.

trogdan

Menion,

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.

edit
Looks like SendDataSilent will prevent LocusPro activity from being brought to the front, but it still centers and zooms on the new tracks, even when 'zoom lock' is selected in the Locus app.

edit
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.
  •  

Menion

#1
Hello trogdan,
  I'll check reported issue on Google Code as main place for discuss about these stuff
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •