Map API

Nutiteq Maps Lib SDK enables developing advanced mobile mapping applications.
Platforms: Android, RIM BlackBerry, Java ME (J2ME)
Download maps API SDK »
Untitled Document

Products

» View demos
» Downloads

Latest news

Last at Tue, 6 Dec 2011 18:37:53
Topic: New BlackBerry sample app
See more news »

Using several LocationSources simultaneously

1 reply [Last post]
mwicat
User offline. Last seen 1 year 22 weeks ago. Offline
Joined: 07/05/2010

Hi,

I use LocationSource with LocationMarker to handle dynamic place - position of pet owner delivered by GPS. It's nice to track its location with setTrackingEnabled. But then, i have also a pet with different location and location source, also dynamic.

I would establish two LocationSources for MapComponent, but it allows only one. I can't use them interchangeably beacuse both of them can change in the same time.

Currently I use Place class for the pet case and remove-add-focus procedure to simulate dynamic with tracking. I need more uniform way, though. What should I do?

Marek Wiewiórski
Aportuj MX Software Developer
Internet: www.aportuj.pl

jaak
User offline. Last seen 1 day 10 hours ago. Offline
Joined: 06/19/2008

This is good question. With current library there is no really nice way to handle it: you can have one LocationSource in one hand, and Places are not meant to be dynamic in the other hand. Technically we could design and create needed feature for this, as customer-requested feature (as special project).

/JaakL