Hello all,
In "interactive" Mappoint you can draw a shape, select it and then 'zoom to selection'. I would like to do this in VB with a shape I am creating but the zooming methods seem limited. I would also like to do it without changing the contents or ordering of the current route. Any thoughts on how to do this?
The code:
'waypoints have been added and the route has been optimized
' now add a circle of diam 0.75 miles on the second stop
Set objShape = MPMap.Shapes.AddShape(geoShapeRadius,_
MPMap.ActiveRoute.Waypoints.Item(2).Location, 0.75, 0.75)
' now query contents of circle, select circle and zoom on circle:
Set objRecordset = objDataSet.QueryShape(objShape)
objShape.Select
???
many thanks,
sthurlock