MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Retrieve Lat/Lon of a ShaddedCircle

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 ...


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 09-08-2005
Junior Member
White Belt
 
Join Date: Aug 2005
Posts: 8
Retrieve Lat/Lon of a ShaddedCircle

Hi,

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,
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 09-08-2005
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 785
Blog Entries: 4
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
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 09-09-2005
Junior Member
White Belt
 
Join Date: Aug 2005
Posts: 8
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
Something mysterious....
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
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


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

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.


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