Community of VE/MapPoint Users and Developers
This is a discussion on Extracting the corresponding Territory to a PushPin Location within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; How do you go about extracting (exporting via excel) the PushPin locations with the corresponding territory? I have 2 sets ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Extracting the corresponding Territory to a PushPin Location I have 2 sets of data, individual locations and a "territory" structure. I have them both mapped to graphically display location in particular territories. I would like to "merge" both sets of data. Basically, I want to know which territory a particular pushpin is in. Any suggestions?
__________________ --- jpendegraft |
| |||
| Quote:
If you do this , just read the property NOTE of your PushPin and the job is done. Look at this example in Help File ( AddPushPinNote ) Code: Sub AddPushpinNote()
Dim objApp As New MapPoint.Application
Dim objMap As MapPoint.Map
Dim objPin As MapPoint.Pushpin
'Configure l'application
Set objMap = objApp.ActiveMap
objApp.Visible = True
objApp.UserControl = True
'Ajoute un clic-infos à la carte et lui affecte une remarque
Set objPin = objMap.AddPushpin(objMap.FindResults("Seattle, WA")(1))
objPin.BalloonState = geoDisplayBalloon
objPin.Note = "C'est ici que le voyage commence."
End Sub
Regards from Marrakesh |
| |||
|
Hi, And if you dont want the territory visible you can hold an array of pushpins which have an extra property 'Territory'.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| extracting, location, pushpin, territory |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to determine territory of a recently placed pushpin ? | Sonicman_ | MapPoint 2006/2009 Discussion | 7 | 09-16-2006 10:34 AM |
| Extracting Zips form the territory (from code) | andrejd | MapPoint 2006/2009 Discussion | 3 | 02-17-2006 07:57 AM |
| Which Territory is a Pushpin located? | johnweidauer | MapPoint 2006/2009 Discussion | 1 | 07-31-2005 11:46 AM |
| Having problems getting location from pushpin | Anonymous | MapPoint 2006/2009 Discussion | 0 | 11-02-2004 11:33 AM |
| extracting territory info from MapPoint | Anonymous | MapPoint 2006/2009 Discussion | 2 | 05-07-2004 07:42 AM |