Re: [android-developers] Adding markers with different drawables on google map in android

2012-06-02 Thread mehedi hasan khan
Here are some of the points I am plotting: latitude:30.2782345,longitude:-82.1603470 latitude:30.2768497,longitude:-82.1673126 latitude:30.2713966,longitude:-82.1601944 latitude:30.2767563,longitude:-82.1324768 latitude:30.2897949,longitude:-82.1278839 latitude:30.2755909,longitude:-82.1269608

Re: [android-developers] Adding markers with different drawables on google map in android

2012-06-02 Thread Fred Niggle
Why are you multiplying by 100.0? Also have you ensured that latitude and longitude are not transposed? (I had an issue when creating a KML output file: I thought that because my label said latitude it was correct, and the bug only threw itself into light when the point appeared over the sea!)

Re: [android-developers] Adding markers with different drawables on google map in android

2012-06-02 Thread mehedi hasan khan
I am multiplying by 1E6 because GeoPoint needs latitude/longitude in micro degrees. How to check if latitude/longitude are transposed? On Sat, Jun 2, 2012 at 2:40 PM, Fred Niggle fred.nig...@googlemail.comwrote: Why are you multiplying by 100.0? Also have you ensured that latitude and

Re: [android-developers] Adding markers with different drawables on google map in android

2012-06-01 Thread TreKing
On Fri, Jun 1, 2012 at 12:55 AM, Mehedi mehedi.mail...@gmail.com wrote: The items collection is correctI am populating the items arraylist in the constructor of the DoItemizedOverlay class and the Log after that shows that it has 20 items in it. And you've zoomed out your map to the max

Re: [android-developers] Adding markers with different drawables on google map in android

2012-06-01 Thread mehedi hasan khan
will u plz explain? I've used mapView.getController().zoomToSpan(sourcemarker.getLatSpanE6(), sourcemarker.getLonSpanE6()); won't that do the zooming? On Fri, Jun 1, 2012 at 12:55 PM, TreKing treking...@gmail.com wrote: On Fri, Jun 1, 2012 at 12:55 AM, Mehedi mehedi.mail...@gmail.com wrote:

Re: [android-developers] Adding markers with different drawables on google map in android

2012-06-01 Thread TreKing
On Fri, Jun 1, 2012 at 12:26 PM, mehedi hasan khan mehedi.mail...@gmail.com wrote: will u plz explain? You know the word is spelled please, right? The 'z' doesn't even make sense ... :-) Sorry, pet peeve ... anyway ... I've used

Re: [android-developers] Adding markers with different drawables on google map in android

2012-06-01 Thread James Black
Do you use modified latitude and longitude coordinates? Can you give an example of what points you are plotting to? On Jun 1, 2012 3:37 PM, mehedi hasan khan mehedi.mail...@gmail.com wrote: I've zoomed it manually and searched for the pins.still can't see any other pin than the source and

Re: [android-developers] Adding markers with different drawables on google map in android

2012-06-01 Thread TreKing
On Fri, Jun 1, 2012 at 2:37 PM, mehedi hasan khan mehedi.mail...@gmail.comwrote: I've zoomed it manually and searched for the pins.still can't see any other pin than the source and the last added one.Zoomed the map as far as the zoom controlls allow.I'll recheck if the points are accurate.

[android-developers] Adding markers with different drawables on google map in android

2012-05-31 Thread Mehedi
Hi, I am trying to plot some markers on a google map.There are 2 different marker drawables, the orange one is for the user's location and green ones are for all other points.I have followed this source code from

Re: [android-developers] Adding markers with different drawables on google map in android

2012-05-31 Thread TreKing
On Fri, Jun 1, 2012 at 12:01 AM, Mehedi mehedi.mail...@gmail.com wrote: But when I run the app on an emulator I am only seeing 2 markers,the 1st and the last one added while the log shows that there are 20 items in the items ArrayList. There are 20 items, but are they in different locations?

Re: [android-developers] Adding markers with different drawables on google map in android

2012-05-31 Thread mehedi hasan khan
yes all of them are on different locations.I've checked that twice. On Fri, Jun 1, 2012 at 11:14 AM, TreKing treking...@gmail.com wrote: On Fri, Jun 1, 2012 at 12:01 AM, Mehedi mehedi.mail...@gmail.com wrote: But when I run the app on an emulator I am only seeing 2 markers,the 1st and the

Re: [android-developers] Adding markers with different drawables on google map in android

2012-05-31 Thread TreKing
When size() and createItem() get called, the items collection is correct? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices --

Re: [android-developers] Adding markers with different drawables on google map in android

2012-05-31 Thread Mehedi
@TreKing Yes I've checked, all the locations are different. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Adding markers with different drawables on google map in android

2012-05-31 Thread Mehedi
The items collection is correctI am populating the items arraylist in the constructor of the DoItemizedOverlay class and the Log after that shows that it has 20 items in it. On Friday, June 1, 2012 11:32:45 AM UTC+6, TreKing wrote: When size() and createItem() get called, the items