MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Really no way to detect a Pushpin drag, is there?

This is a discussion on Really no way to detect a Pushpin drag, is there? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I've never seen an example that works. One would think that should be a pretty fundamental task for a mapping ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  3 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 03-26-2008
Junior Member
Yellow Belt
 
Join Date: Nov 2007
Posts: 12
Really no way to detect a Pushpin drag, is there?

I've never seen an example that works. One would think that should be a pretty fundamental task for a mapping API: To actually notify when something is moved. The underlying data structure is obviously detecting this--why not expose it?
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 03-31-2008
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Re: Really no way to detect a Pushpin drag, is there?

Hi,

You could use SelectionChange event for this and check Location.Latitude and Location.Longitude if they are changed.

But SelectionChange will only fire when user select a puslpin and deselect it or select something else. A workaround for this could be that if user don't deselect you can do it yourself with a timer. A second workaround for this could be if a pushpin is selected in a timer event you check once a while if location of it is changed. You deactivate the timer the moment the pushpin is unselected.
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


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/really-no-way-detect-pushpin-drag-there-7375.html

Posted By For Type Date
Really no way to detect a Pushpin drag, is there? - MapPoint Forums This thread Refback 04-03-2008 06:08 PM
Making Pushpin Locations Immoveable - MapPoint Articles - MP2K Magazine This thread Refback 04-01-2008 11:47 AM
The Magazine for MapPoint - MP2K Magazine This thread Refback 03-27-2008 08:41 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
How to detect Shape Name on SelectionChange event tfmiltz MapPoint 2006/2009 Discussion 1 11-02-2007 01:49 PM
Detect presence of pushpin PMACAFEE MapPoint 2006/2009 Discussion 1 11-19-2006 01:48 PM
Detect a pushpin name change. Daniel MapPoint 2006/2009 Discussion 2 08-10-2004 06:27 AM
drag and drop pushpin starbuck MapPoint 2006/2009 Discussion 2 10-31-2003 08:45 AM
It is possible to drag / drop (move) an PushPin on.... Anonymous MapPoint 2006/2009 Discussion 1 12-03-2001 02:54 AM


All times are GMT -5. The time now is 12:26 AM.


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

Ski USA
USA ski resorts offer some of the best designed ski areas in the world. Choosing to ski in the USA will suit all types of skiers. Book great value ski holidays at Holiday Hypermarket.

Personal Travel Advisor
Let a personal Travel Advisor help with your travel plans. Travel Counsellors were voted UK's Best Travel Agent at the Guardian Unlimited travel awards

Holidays Jamaica
Holidays to Jamaica are a great way to immerse yourself in a different culture. Soak up some sun, indulge in some shopping, and relax at a beach resort. Use dealchecker.co.uk.

Holidays in Cyprus
Holidays in Cyprus are enriched by the abundance of churches, ruins and natural wonders. Book a holiday with us today!

Cheap Portugal Holidays
Want to know what the best time to book cheap Portugal holidays is? Well have a look on ulookubook.com for some useful information to save your cash. Golf, tennis and cycling are all very popular here.

Holiday
For the holiday of your life, that is easy to plan, visit Travel.co.uk to see all the options.

Cheap Holidays in Goa
Visit the unique blend of east and west in India! Get information on cheap holidays in Goa, only at On The Beach.


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