Regretfully there's no direct API call in GMap2 supporting your case.

Here's a description how to do it with Javascript only:
   http://econym.googlepages.com/basic14.htm

We could make up a function that hides the details:

   GMap2#fitMarkers(List<Marker>)

Martin, what do you think?

Sven

Doug Leeper schrieb:
Lets say I have two GLatLng Points, i.e. Chicago and Indianapolis.  I would
like to have the map be centered between these points and bounded to show
these points.

What is the best way to do this?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to