Community of VE/MapPoint Users and Developers
This is a discussion on Zoom to selection? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello all, In "interactive" Mappoint you can draw a shape, select it and then 'zoom to selection'. I would like ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Zoom to selection? 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 |
| |||
|
That is very close to what I'm looking for! I'd like to be able to control the closeness of the zoom by drawing a circle of radius r, zooming to it, then removing the circle and printing a map. In 'interactive' mode, drawing a circle with r=0.75, selecting the circle and then zooming 'to selected' gives a certain zoom. Going to a circle with r=0.5 gives a closer zoom, r=0.25 is closer still. Really, I'm trying to work around the fact that the .zoomIn and .zoomOut methods have very large steps in their zoom. More thoughts? sthurlock |
![]() |
| Tags |
| selection, zoom |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pushpin Selection | EdB | MapPoint 2006/2009 Discussion | 2 | 08-14-2005 10:25 AM |
| Getting dataset from user selection | mic6399 | MapPoint 2006/2009 Discussion | 1 | 09-23-2004 11:59 AM |
| Zoom In and Zoom Out event detection | victorf | MapPoint 2006/2009 Discussion | 2 | 10-22-2003 01:56 AM |
| Identifying Selection with Mouse | MapPointJim | MapPoint 2006/2009 Discussion | 3 | 08-20-2002 05:39 PM |
| Have successfully exported a map selection from Ma.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 09-05-2001 05:14 AM |