MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Detect presence of pushpin

This is a discussion on Detect presence of pushpin within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; My program creates a set of locations and a set of pushpins. If the locations are too close together, then ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (8) Thread Tools Display Modes
  8 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 11-17-2006
Member
Yellow Belt
 
Join Date: Dec 2004
Posts: 41
Detect presence of pushpin

My program creates a set of locations and a set of pushpins. If the locations are too close together, then it skips a pushpin. Later I want to address all the pushpins but can not use the same counter as locations. Is there a programatic way of checking if a pushpin is present at a location?

if mapobj.pushpin().select = true then ...............
Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 11-19-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,094
Re: Detect presence of pushpin

Hi,

Several approach possible. The most easy is to give each pushpin an exclusive name, then you can use FindPushPin();. If you know the location and want to see if a pushpin is there you can use ObjectsFromPoint() or FindNearby(). Also you can keep a list of all the pushpins in an array in your application. Using the latter you have it all in control yourself, and it will be probably faster also.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
detect, presence, pushpin


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/detect-presence-pushpin-5366.html

Posted By For Type Date
Formatting coordinates with DmsFormat, linking to weather data, three new utilities - MP2K Update Archives - MP2K Magazine This thread Refback 11-23-2006 11:06 AM
Microsoft MapPoint 2006 - MP2K Magazine This thread Refback 11-21-2006 03:03 AM
Alaska Map and Map of Alaska - MapPoint State Map Gallery - MP2K Magazine This thread Refback 11-21-2006 12:31 AM
Author - MP2K Magazine This thread Refback 11-21-2006 12:30 AM
Author - MP2K Magazine This thread Refback 11-21-2006 12:29 AM
Map Visitors - Powered by Virtual Earth This thread Refback 11-19-2006 10:48 AM
Map Visitors - Powered by Virtual Earth This thread Refback 11-19-2006 10:48 AM
What's New in Streets and Trips 2006 - MapPoint Articles - MP2K Magazine This thread Refback 11-19-2006 01:45 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Detect a pushpin name change. Daniel MapPoint 2006/2009 Discussion 2 08-10-2004 06:27 AM
Finding Pushpin Name by clicking on the Pushpin?(MP 2002) NickSP MapPoint 2006/2009 Discussion 4 01-10-2003 12:11 PM


All times are GMT -5. The time now is 07:28 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Cheap Flights to Salzburg
Book cheap flights to Salzburg when you book online with Holiday Hypermarket. Use the powerful flight search tool to see the latest great deals.

Portugal Weather
Check Portugal Weather before you travel. We provide information on Portugal including weather, flights and accommodation.

Holiday in Turkey
A Holiday in Turkey is great value when you book with dealchecker.co.uk. There is an abundance of things to see and do. Check out the well-preserved Greco-Roman ruins.

Cancun Holidays
Cancun holidays offer beautiful scenery, calm waters and plenty of shopping. Get a taste of the good life while on holiday in Cancun.

Greece
Greece covers a large area and as a result there is an abundance of things to do, see and taste. You can relax on a beach, visit ancient sites or make a trip to one of the islands like Corfu, Crete or Rhodes.

Comparison Holidays
Travel.co.uk is a travel comparison service which makes it easy for you to find and plan the best holidays.

Holidays to Portugal
Want to take your family on a summer holiday? Visit On The Beach for more information on holidays to Portugal.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52