Community of VE/MapPoint Users and Developers
This is a discussion on LabView Example? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am new to mappoint and using LabView 7.1. Have not found any examples on using MapPoint (MP2004 on any ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| LabView Example?
__________________ RR |
| ||||
|
Is this the software? http://www.ni.com/labview/whatis/ What do you want to do with MapPoint? Maybe we can help you with that approach. Eric
__________________ |
| |||
|
Hi Eric, Yes, you have the correct web site, Labview is an NI product. My project requires use of a GPS, MapPoint 2004 NA, LabView and either Win2k or WinXP platform. The added use of MapPoint with very large existing LabView program prevents me from looking at other development options at this time. Since the computer may not have access to the internet, we need to use stand alone MapPoint installations instead of using web access. However, the web access may be an alternative with a corporate license, but I have not checked on the cost?? Basically I want to input lat-lon, specify a size and pull up map of the area, with capability to zoom in and out. We also plan to overlay data on the map. I planned to use MapPoint ActiveX control to accomplish this, but am open to other suggestions. Mainly trying to get an example to get started with. Would appreciate any help you can provide. Thanks.
__________________ RR |
| |||
|
Hi, This example get a Location object form a given coordinates, place a pushin on that point, give is a symbol and some text in balloon, then it pan/zoom the map to a given coordinate. I think this will get you start. mp is the activeX control. Code: Location loc = mp.ActiveMap.GetLocation(lat, lon, alt);
Pushpin pp = mp.ActiveMap.AddPushpin(loc, "Hello");
pp.Symbol = 1;
pp.Note = "test\r\n" + "and next line";
pp.BalloonState = GeoBalloonState.geoDisplayBalloon;
pp.Highlight = true;
mp.ActiveMap.GoToLatLong(lat, lon, alt);
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Do you have a sample vi that shows how to implement this text based code in Labview? I appologize, but am relatively new to both LabView and MapPoint and have not implemented text based code with the LabView G type programming .... not yet anyway.
__________________ RR |
| |||
|
Hi, Sorry no. But I did take a _very_ quick view to their website and it seems a kind of graphical programming environment, and is compatible with acitveX components, so it should be possible to use mappoint direcly from it. Is this your intention ? If it is then (maybe I'm completely wrong here) I should discourage it and make the mappoint application from a popular programming language to ge more support and use the develped program as an API for labview. I dont want to shoot you in the foot, but it seems reasonable to me. You develop in C# or Delphi or VB or whatever and in fact you develop an API for labview. Working as sutch you get optimal support I think Sorry if I'm completely wrong hre but please if others have a better idea then please speak and your mouth will go open
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
Flights Spain
Flights to Spain don't have to burn a hole in your pocket. Holiday Hypermarket can help you to find the latest great offers from a range of airlines.
Travel Counselors
Travel Counselors are an award winning Travel Agent. Why not have a personal Travel Counselor help with your travel plans.
Cuba Holidays
After years of neglect by the western world, Cuba is coming back onto the holiday scene. Cuba Holidays are a unique and enjoyable experience. Book at dealchecker.co.uk.
Jamaica Holidays
Jamaica holidays give you the chance to enjoy the vibrant cultural heritage and wonderful laid back atmosphere of the Caribbean. Book here!
Cheap Holidays
Hunting for cheap holidays? Well save time by booking online with ulookubook.com and you can even check out our top tips to help you hunt down a bargain holiday.
Price Compare
Visit Travel.co.uk for and compare not only price, but also the wide variety of options available.
Cheap holidays to Portugal
Enjoy a spectacular country at a fraction of the cost. Find information on cheap holidays to Portugal at On The Beach.