MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Inserting Arrows

This is a discussion on Inserting Arrows within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I want Mappoint to insert arrows between different points on the map. If I have the lat/long of each point, ...


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 Thread Tools Display Modes
  #1 (permalink)  
Old 01-22-2003
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Inserting Arrows

I want Mappoint to insert arrows between different points on the map. If I have the lat/long of each point, can I write a program to make Mappoint draw these arrows in automatically? I'm trying to avoid drawing 376 arrows by hand. 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 01-25-2003
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Vanja,

Here is a code sample to get you started. This example assumes VB6 using the ActiveX Control.

Code:
Dim objmap As MapPointCtl.Map
Set objmap = MappointControl1.ActiveMap
Dim objLoc1 As MapPointCtl.Location
Dim objLoc2 As MapPointCtl.Location
Dim objShape As MapPointCtl.Shape

Set objLoc1 = objmap.GetLocation(37.78, -122.42)
Set objLoc2 = objmap.GetLocation(38.9, -77.02)
Set objmap.Location = objLoc1

  'Add a Line from one location to the other
Set objShape = objmap.Shapes.AddLine(objLoc1, objLoc2)
objShape.Line.BeginArrowhead = True
objShape.Line.EndArrowhead = True
 'Ensure Visible
objmap.Union(Array(objLoc1, objLoc2)).GoTo
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
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
arrows, inserting


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
arrows disappear after zoom out Gerhard Faber MapPoint 2006/2009 Discussion 4 01-27-2006 04:00 AM
Flows in mappoint 02 or 04 (arrows depending on the size of Anonymous MapPoint 2006/2009 Discussion 3 11-19-2003 02:51 PM
joining recordsets with arrows (II) Anonymous MapPoint 2006/2009 Discussion 0 10-28-2003 07:37 AM
joining recordsets with arrows Anonymous MapPoint 2006/2009 Discussion 1 10-22-2003 08:54 AM
Need help with map scrolling arrows please! Anonymous MapPoint 2006/2009 Discussion 2 09-09-2003 11:29 AM


All times are GMT -5. The time now is 08:52 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


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 53 54