If I create a MapView with the map centered to the middle of the
Pacific ocean (east of longitude 180).
The latitude and longitude spans are set so both Japan and California
are visible in the map.

I have 2 overlay location points, one in Japan and another in
California.

Initially the California location point is visible but Japan location
point IS NOT visible.

If the map is panned so the map midpoint is on the west side of
longitude 180,
then the Japan location point is visible but the California location
point IS NOT visible.

There is a method in the REGULAR Google Maps API to set the initial
midpoint state of the map:
setCenter(...) per documentation 'must be called first after
construction to set the initial state of the map'.

I cannot find anything like this in android MapView or MapController
documentatation.

The documentation for centerMapTo method of MapController is:

public void centerMapTo(Point point, boolean updateSelection)
Move the map to the given point.
Parameters
updateSelection         Whether the "current selection" should be updated
because of this move. Currently this is ignored.

Is the updateSelection argument pertinent to this problem?

Any suggestions or comments will be appreciated.



--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to