Hi,

Don't know.

What happens if you comment out the marker, is the map still centered at 
the same location ? 

Also does this vary with device rotation & / or different zoom - eg 21, & 
on phone or tablet ?

I think there's also an option to move / animate & zoom the camera at the 
same, something like - map.moveCamera(CameraUpdateFactory.newLatLngZoom(
center, zoom)) - maybe try that as well.

I notice that the map moves a bit when you press on a marker, to show the 
text.

Regards

On Friday, September 27, 2013 9:50:45 AM UTC+10, Gary Blakely wrote:
>
> In my android app I have the following code...
>
> CameraUpdate center= CameraUpdateFactory.newLatLng(new LatLng(Lat,Lon));
> DebugLog.debugLog("centered camera on " + Lat + " and " + Lon, false);
>         CameraUpdate zoom=CameraUpdateFactory.zoomTo(15);
> map.moveCamera(center);
>         map.animateCamera(zoom);
> map.addMarker(new MarkerOptions()
>      .position(new LatLng(Lat, Lon))
>      .title("Phone Location")
>      );
>
> Lat is 31.7898
> Lon is -111.0354
>
> The marker is exactly at that location.  However the camera is centered 
> about 5 miles north of that location on the v2 map.
> Why?
> Thanks
> Gary
>

-- 
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/groups/opt_out.

Reply via email to