Community of VE/MapPoint Users and Developers
This is a discussion on How to determine territory of a recently placed pushpin ? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I know how to place pushpins and play with latitude/longitude and everything, but I am so far unable to determine ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| How to determine territory of a recently placed pushpin ? I have about 50 territories in the united states and would like to place a pushpin, determine it's territory and delete the pushpin. Determining the territory is my issue. I tried doing a search but all of those who have posted this question did not get any answer. I hope i'll be more successful ! Thank you for your help it will be greatly appreciated. Sonicman |
| |||
|
Hi, I hope you have more success if it can be done and someone know how. i dont...
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Could this be adapted to work ?
Here is some code posted by a guest on another topic. Does anyone think it could be adapted to find the territory of a pushpin ? Quote:
|
| |||
| Still no solution after two weeks
After two weeks of searching and posting I still haven't found a solution to this problem. I decided to reply to my own post again to make it sticky. Maybe someone will find a solution and share it ? Alex |
| |||
|
Hi, Quote:
Mohamed@atlascouscous.com |
| |||
|
Hi, I don't know what's your progamming language, so I give you the method I used to resolve that: ( By the way, Why do you add a PushinPin and delete it? It's more elegant to use the "BeforeClick" Event ) Never mind, here is the idea : 3 steps: - When you import your territories, you are obliged to have a GeoFieldType like Postal Code. So, for each Territory Name, you Know the corresponding Postal Codes ( in a file , in an Array, etc. ) - When you add a PushPin , by a Reverse Geocoding function ( you have a lot in this forum ) , you can get the StreetAddress Property and the GeoFieldType value like the Postal Code - Now you do a search in the file or array where you have your territories and geoFieldTypes to find the correponding Territory Name Ciao P.S. If you add programatically your PushPins, it's easy to save any information you have with the NOTE property. If you put the Territory Name in the NOTE property of a PushPin, you can get that information when you want. |
| |||
|
I don't know if still useful, but I developed for one of my apps a method to return the clicked territory on map (on before click event). Renato Quote:
|
![]() |
| Tags |
| determine, pushpin, recently, territory |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Determine if Map has been closed | BirdIslander | MapPoint 2006/2009 Discussion | 1 | 12-07-2005 02:33 PM |
| Extracting the corresponding Territory to a PushPin Location | jpendegraft | MapPoint 2006/2009 Discussion | 3 | 08-13-2005 03:06 AM |
| Which Territory is a Pushpin located? | johnweidauer | MapPoint 2006/2009 Discussion | 1 | 07-31-2005 11:46 AM |
| Active-X : Way to determine if pushpin is on diplayed map? | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-02-2004 10:01 AM |
| Is there a way to determine the minimum distance b.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-22-2002 05:45 AM |