spacer1
spacer2 1_1 1_2
2_1
 Subscribe
 The MP2K Update!
 
 
 
 Magazine
Front Cover
What's New
Articles
News
Sample Data
Gallery
Advertise
About
 Features
MapPoint 2013
Press Releases
MapPoint Forums
Companies
Link to MP2Kmag
Wish List
MapPoint Trial
Authors
 Earlier Content
Past News Items
Past What's New Announcements
 Sponsors
 Order

MapPoint 2013

Programming MapPoint in .NET

MapPoint Book

  Spatial Community
SVG Tutorials
MapPoint

Map Visitors

  MAPPOINT Q & A  

Top | Post New Question | Read All | MP2K Asks Microsoft

671 ketan parekh - May 14, 2002

Hi EB Can i use the Map point control features in my project. for e.g if you run the Mappoint.exe, goto Tools. There are list of features which i want to encorporate in my project. for e.g Location Sensor, Measure Distance etc. does Mappoint has a method or property by which i can call these inbuilt functions or do i have to write VB code for giving these features in my project. I am inserting the Map point control(OCX) on my form and now on click of the buttons, i want those features which are already provided by Mappoint control. so if i press "Measure Distance" button, it should give me the distance between the 2 places in miles on my Map Control. This is my exact requirement. Please Help as it is on high priority for me.

Answer:

Some of those functions are not immediately available, but could easily be built. For example the Location Sensor could be created by using the MouseMove event to get the x,y coordinates of the mouse, use the XYToLocation method to create a Location object and use Gilles Kohl's code here to get the lat/lon.

- Walt Cygan

Post New Answer / Follow-up


Google
 
MP2Kmag Internet


 Recent Discussion
 Resources


Want Your Site To Appear Here?

   © 1999-2012 MP2K. Questions and comments to: website@mp2kmag.com
  Microsoft and MapPoint 2002/2004/2006/2009/2010/2011/2013 are either trademarks or registered trademarks of Microsoft.