dynamically centering a map?

Sep 3, 2008 at 8:08 PM
I just downloaded your control today and was able to put together a working demo in about an hour - really great work, thanks!!

However, I'm having a small problem.  In my codebehind, I'm dynamically creating a set of markers based on street addresses from a database.  I can't figure out how to dynamically center the map so that all of the markers are shown.

Can you provide a simple example of how to do this?

many, many thanks for the great control!


Coordinator
Sep 4, 2008 at 6:08 AM
Try setting to true AutoPan of the GoogleMarkers.
If above doesn't help set on EnableMarkerManager of the GoogleMap.

Regards