Community of VE/MapPoint Users and Developers
This is a discussion on Retrieve Lat/Lon of a ShaddedCircle within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I am working on an application under VB.net using the MapPoint API. I have a question: is it possible ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Retrieve Lat/Lon of a ShaddedCircle I am working on an application under VB.net using the MapPoint API. I have a question: is it possible to retrieve the coordinate of a selected ShaddedCircle ? I have programmaticaly imported data from ".txt" file and have put them on a map with ShaddedCircles. When i select any ShaddedCircle, the lat/lon of is not correct and is always the same. However, when i select another point on the map, like a city for example, the coordinates are correct. Have someone already succeeded in retrieving Lat/lon of ShaddedCircle ? Best regards, |
| ||||
|
Kludgy get-around: Create an invisible pushpin. Then re-import your data but as a pushpin set instead of a shaded circle. Then get the location of the invisible pushpin? I'm not sure how you'd select the invisible pushpin: can you get a name from the shaded circle? (and then use this name to find the corresponding invisible pushpin) Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009 |
| |||
|
Hi, I already have test my following routine with pushpin but the result is the same. I never obtain the lat/lon of the symbols put on the map by import, but, with this routine i obtain each time the lat/lon of any point on the map Code: Private Sub AxMappointControl1_SelectionChange(ByVal sender As Object, ByVal e As AxMapPoint._IMappointCtrlEvents_SelectionChangeEvent) Handles AxMappointControl1.SelectionChange
Dim oPushPin As MapPoint.Pushpin
Dim Loc, Loc2 As MapPoint.Location
Dim lat, lon, Altitude As Double
Dim Type As MapPoint.GeoDataMapType
Loc = oMap.Selection
CalcPos(oMap, Loc, lat, lon)
Loc2 = oMap.GetLocation(lat, lon, Altitude)
oPushPin = oMap.AddPushpin(Loc2, "Point route")
oPushPin.Symbol = 82
End Sub
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Nobody knows the answer? How to retrieve the name of country | Abilio Serafim | MapPoint 2006/2009 Discussion | 1 | 04-29-2005 10:09 AM |
| Retrieve the clicked country name | Abilio Serafim | MapPoint 2006/2009 Discussion | 0 | 04-27-2005 06:10 AM |
| Retrieve postcodes list | Dazzer | MapPoint 2006/2009 Discussion | 4 | 02-02-2004 03:42 AM |
| Is it possible to retrieve county names from the z.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 12-18-2001 11:59 AM |
| How can I retrieve the information of a drawing pr.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 05-26-2000 12:34 PM |
Cheap Flights Amsterdam
Looking for cheap flights to Amsterdam? Your search is over. Holiday Hypermarket searches a range of airlines and operators to bring you the latest great offers.
Cyprus Holidays
Find great Cyprus Holidays with Travel Counsellors. A personal Travel Counsellor can help you plan the perfect holiday to Cyprus.
Holidays to Cuba
Situated between Jamaica and the Bahamas, Cuba has a delightful tropical climate and warm, clear waters with beaches of white sand. Check for cheap holidays to Cuba.
Holidays to Jamaica
Holidays to Jamaica are about taking things easy. Forget your watch and chill out beneath the clear Jamaican sky.
Portugal
As well as providing some great weather Portugal has much to offer culturally. There are numerous museums, monuments and places of historical interest to explore. Despite the rich history there is a buzzing nightlife and great shopping too.
All inclusive holiday
Travel.co.uk is a travel comparison service which makes it easy to search and find your all inclusive holiday.
Cyprus Holidays
Fancy a Mediterranean holiday? Get information on Cyprus holidays at On The Beach.