This project has moved. For the latest updates, please go here.

How i can zoom in the small part of map at the start?

Topics: Web Controls
Aug 8, 2010 at 7:03 AM

hello guys,

i want to zoom in small part of map at the start,for example when you open google maps,it shows entire of United State,But when you search a region,it goes to that region directly.

Now,i want zoom in the region in Page_Load Function for web Application.

thanks alot

Aug 17, 2010 at 8:47 AM

Hello shahin_sharifi,

you can achieve this by setting up your SharpMap.Map object specifying Center and Zoom properties.

Center (world units) should be clear, Zoom is width of the map that should be visible in world units.

Hth FObermaier