Community of VE/MapPoint Users and Developers
This is a discussion on [Multi pushpins selection ?] within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, I'd like to make a multi pushpin selection. It seems to be impossible (but I'm not sure). So, I'd ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
|
There is not a way to select more than one pushpin but you can draw a shape and right click the shape, choose export to excel. Programmatically you would use one of these tree methods: QueryShape QueryPolygon QueryCircle
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
| |||
|
What is that? Querybycircle not available for puspins??? The following code indeed shows no hits: Set objRecords = objDataSet.QueryCircle(objLoc, 2000) objRecords.MoveFirst Do While Not objRecords.EOF If TypeOf objRecords Is MapPoint.Pushpin Then lngCount = lngCount + 1 End If objRecords.MoveNext Loop List1.AddItem lngCount I want to select the puspins (my own set) lying within that circle. Not possible? |
| |||
| QueryCircle does support Pushpin
Hi, Peter: I checked your code: Set objRecords = objDataSet.QueryCircle(objLoc, 2000) objRecords.MoveFirst Do While Not objRecords.EOF If TypeOf objRecords Is MapPoint.Pushpin Then lngCount = lngCount + 1 End If objRecords.MoveNext Loop List1.AddItem lngCount Everything is fine but one place: the type of OBJRECORDS is MAPPOINT.Recordset, it is not a Pushpin. So you can't check its type to determine if the current record is a pushpin or not. :-) |
| |||
| Is the Querybycircle method not exact?
Thanks! I checked the Parent.Name of the records and there are several hits. Next problem: Given a radius of 100 meters Querybycircle finds records which are outside of the circle. Is the Querybycircle method not exact? Peter |
![]() |
| Tags |
| multi, pushpins, selection |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding custom pushpins to the pushpin selection | Anonymous | MapPoint 2006/2009 Discussion | 1 | 11-28-2003 04:28 PM |
| pop-up html/doc file on selection of pushpins | sandiphw | MapPoint 2006/2009 Discussion | 0 | 11-26-2003 10:23 PM |
| Multi-radius | Anonymous | Wish List | 2 | 06-30-2003 12:54 AM |
| Multi-radius | Anonymous | MapPoint 2006/2009 Discussion | 1 | 02-26-2003 10:07 AM |
| Mappoint newbie here- need to be able to map multi.... | Anonymous | MapPoint 2006/2009 Discussion | 3 | 06-13-2002 11:04 AM |