MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




A kind of diagram

This is a discussion on A kind of diagram within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi all, I'd like to draw a kind of diagram showing the connectivity between places as line thickness. Have data ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-31-2006
Junior Member
Yellow Belt
 
Join Date: Dec 2004
Posts: 23
A kind of diagram

Hi all,

I'd like to draw a kind of diagram showing the
connectivity between places as line thickness.
Have data in form of a table with 5 columns:

Code:
Place A Latitude
Place A Longitude
Place B Latitude
Place B Longitude
Connectivity (Number)
For every line in that table I want draw a line
in the map connecting Place A with Place B.
The thickness of the line shall increase with
the value of connectivity.

Some hints?

TIA

Chris Werner
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 06-01-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi,

Something like this:

Code:
Location LocA = MP.ActiveMap.GetLocation(LatA, LonA, Alt);
Pushpin ppA = MP.ActiveMap.AddPushpin(LocA, "");
ppA.Symbol = 1;
MP.ActiveMap.GoToLatLong(LatA, LonA, Alt);

Location LocB = MP.ActiveMap.GetLocation(LatB, LonB, Alt);
Pushpin ppB = MP.ActiveMap.AddPushpin(LocB, "");
ppB.Symbol = 2;

Shape s = MP.ActiveMap.Shapes.AddLine(LocA, LocB);
s.Line.EndArrowhead = true;
s.Line.Weight = 1;  // Thickness of the line
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 06-01-2006
Junior Member
Yellow Belt
 
Join Date: Dec 2004
Posts: 23
Hi,

thank you very much! This weight property
was what I've searched for!

Kind regards,

Chris Werner
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


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
Basic - Zip Code Data (Bubble Diagram) robertuva MapPoint 2006/2009 Discussion 1 09-27-2005 03:01 PM


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

Flights from Aberdeen
Get great value flights from Aberdeen online at Holiday Hypermarket. Find out all the key Aberdeen Airport information in just a few clicks at Holiday Hypermarket.

Travelcounselors
TravelCounsellors are a Queens award winning Travel Agent. Have a personal Travel Counselor help with your travel plans.

Italy Holiday
An Italy Holiday is full of interesting stuff for the casual tourist and even more for the educated visitor. Check out the latest great deals at dealchecker.co.uk.

Dominican Republic Holidays
Dominican Republic holidays have something to offer for everyone. From water sports, to sun bathing and more, enjoy a holiday there!

Canaries
Find out all about the Canaries when you check out the ulookubook.com travel guides. Not only can you get a great holiday deal but you can find out useful information about potential holiday destinations.

Travel In
Travel.co.uk is the one you are looking for when checking out price comparison sites, so that you can travel in the way you choose.

Cheap Holidays to Sharm el Sheikh
Break away to Northern Africa. Find cheap holidays to Sharm el Sheikh 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