On Wed, Sep 17, 2014 at 2:04 PM, Abhilash Baddam <
[email protected]> wrote:

> 1) Accuracy is not proper, if I stay at some particular location but in
> the map showing somewhere else nearby.
>     To get the location i referred the below link,
>      http://developer.android.com/guide/topics/location/strategies.html
> using locationlisterner, i used to fetch the lat and lon      vals.
>      I have seen some other article also
> http://developer.android.com/training/location/retrieve-current.html ,
> here they used google play services to fetch the current location, which
> way would be preferred and accurate?
>

The latter would be preferred, as it's newer and "better". Both should be
accurate, to the extent capable by your device. If the values are not
accurate, it's either a bug in your app or simply poor reception /
coverage. Use the Location information you get to determine the accuracy
you get from the location updates.


> 2) If the locations are proper but how to prevent overlap?
>

You would have to write logic to detect the overlap (some mathematical
computation of the marker icon sizes / positions and their locations on the
map) and determine how to respond. This would depend on how you desire to
handle overlap.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to