Thread
:
A simple map with a pushpin on click
View Single Post
#
2
(
permalink
)
10-13-2005
Wilfried
MapForums Plus Member
Senior Member
Black Belt
Join Date: Nov 2004
Posts: 2,112
Hi,
this is how you place the pushpin. It is places exacly where it is clicked:
Code:
Location loc = mp.ActiveMap.XYToLocation(e.x, e.y); mp.ActiveMap.AddPushpin(loc, "");
e is the event arguments of the before click event handler.
__________________
rgds, Wilfried Mestdagh
www.mestdagh.biz
MapPoint coding demo
Order MapPoint 2009 with Routing and User Tools Spreadsheet
Wilfried
View Public Profile
Send a private message to Wilfried
Visit Wilfried's homepage!
Find all posts by Wilfried