Using GMLib and needing to zoom to a city level much like the viewport option

240 Views Asked by At

Using GMLib in delphi an would like to zoom to the city level and center it.

1

There are 1 best solutions below

0
On

To center map, you need to change GMMap.RequiredProp.Center properties or call GMMap.SetCenter method.

To zoom to the city level, you need to know the viewport of the city and call GMMap.LatLngBoundsSetBounds method