Saturday, June 2, 2012

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

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.niggle@googlemail.com> wrote:
Why are you multiplying by 1000000.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!)

On 2 June 2012 07:33, mehedi hasan khan <mehedi.mailing@gmail.com> wrote:
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"
"latitude":"30.2761593","longitude":"-82.1239471"

These are obtained from a webservice.I am multiplying each lat/lng value with 1000000.0 while creating GeoPoint with them.

On Sat, Jun 2, 2012 at 1:58 AM, James Black <planiturthian@gmail.com> wrote:

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.mailing@gmail.com> wrote:
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.

On Sat, Jun 2, 2012 at 12:13 AM, TreKing <trekingapp@gmail.com> wrote:
On Fri, Jun 1, 2012 at 12:26 PM, mehedi hasan khan <mehedi.mailing@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 mapView.getController().zoomToSpan(sourcemarker.getLatSpanE6(), sourcemarker.getLonSpanE6());  won't that do the zooming?

I mean literally, physically zoom the map out yourself, with your finger, using the zoom controls on the map. Go looking for your markers to make sure they didn't up in Zimbabwe or something. When I started with adding a map to my app, I was trying to plot a bus stop in downtown Chicago but ended up placing it in the middle of the Atlantic Ocean. It happens - all it takes is one wrong digit ...


-------------------------------------------------------------------------------------------------
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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
Mehedi
CSE'07,BUET
"মহাবিশ্বের কোন কোণে,ইতিহাসের কোন ক্ষণে, আমিও ছিলাম...
আমায় যেন পড়ে মনে,সে প্রয়াসে সঙ্গোপনে,পদচিহ্ন রেখে যেতে আমিও চেয়েছিলাম।।"

--
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
android-developers+unsubscribe@googlegroups.com
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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
Mehedi
CSE'07,BUET
"মহাবিশ্বের কোন কোণে,ইতিহাসের কোন ক্ষণে, আমিও ছিলাম...
আমায় যেন পড়ে মনে,সে প্রয়াসে সঙ্গোপনে,পদচিহ্ন রেখে যেতে আমিও চেয়েছিলাম।।"

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
Magnetic Door Alarm app is now available in Google Play

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
Mehedi
CSE'07,BUET
"মহাবিশ্বের কোন কোণে,ইতিহাসের কোন ক্ষণে, আমিও ছিলাম...
আমায় যেন পড়ে মনে,সে প্রয়াসে সঙ্গোপনে,পদচিহ্ন রেখে যেতে আমিও চেয়েছিলাম।।"

--
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
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate