Author Topic: Developer API to not control display  (Read 1318 times)

Offline trogdan

  • Newbie
  • *
  • Posts: 6
    • View Profile
Developer API to not control display
« on: December 13, 2012, 18:26:34 »

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.

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.

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.
« Last Edit: January 01, 1970, 01:00:00 by Guest »

Offline Menion

  • Locus team
  • Professor of Locus
  • *****
  • Posts: 12820
  • Thanked: 950 times
  • Country: cz
    • View Profile
  • Device: Pixel 5, A12
Re: Developer API to not control display
« Reply #1 on: December 14, 2012, 17:40:58 »
Hello trogdan,
  I'll check reported issue on Google Code as main place for discuss about these stuff
« Last Edit: January 01, 1970, 01:00:00 by Guest »
- Official help (ideas, questions, problems):
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 final download