Community of VE/MapPoint Users and Developers
This is a discussion on Setting latitude& longitude in mappoint 2006 within the MapPoint Web Service and Virtual Earth forums, part of the Map Forums category; Hi Friends, Is it possible to set the latitude and longitude directly to a location object. regards kaushik...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
|
Is this what you are looking for? Dim StartLocation As New Location Dim StartGeoCode As New LatLong StartGeoCode.Latitude = Request.QueryString("LAT") StartGeoCode.Longitude = Request.QueryString("LON") StartLocation.LatLong = StartGeoCode |
| |||
|
Since the post is in this forum I thought you were asking about MapPoint Web Service. Anyway try this for ActiveX Public Sub ShowLocation(ByVal dblLatitude As Double, ByVal dblLongitude As Double) On Error GoTo Er Dim objLoc As MapPointCtl.Location Dim oPushPin As MapPointCtl.Pushpin Set objLoc = ctlMap.ActiveMap.GetLocation(dblLatitude, dblLongitude) Set oPushPin = ctlMap.ActiveMap.AddPushPin(objLoc, DispatchLocation.SiteName) oPushPin.Symbol = cDISPATCHLOCATIONICON ctlMap.ActiveMap.DataSets.ZoomTo ctlMap.ActiveMap.Altitude = 60 CleanExit: Set objLoc = Nothing Set oPushPin = Nothing Exit Sub Er: '***Handle Error here Resume CleanExit End Sub |
![]() |
| Tags |
| latitudeand, longitude, mappoint 2006, setting |
| ||||
| Posted By | For | Type | Date | |
| Using Autoroute 2003 Data in MapPoint 2002 - MapPoint Articles - MP2K Magazine | This thread | Refback | 01-05-2007 11:24 AM | |
| Finding Sites Within a Specified Distance From an Address - MapPoint Articles - MP2K Magazine | This thread | Refback | 01-03-2007 12:45 AM | |
| Interview with Steve Lombardi - MapPoint Articles - MP2K Magazine | This thread | Refback | 12-27-2006 06:37 PM | |
| Map Visitors - Powered by Virtual Earth | This thread | Refback | 12-23-2006 03:01 AM | |
| Using MapPoint and Excel for Supply Chain Management - MapPoint Articles - MP2K Magazine | This thread | Refback | 12-22-2006 11:25 AM | |
| The Magazine for MapPoint - MP2K Magazine | This thread | Refback | 12-22-2006 08:45 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mappoint, postcode to longitude and latitude | jimbob | MapPoint 2006/2009 Discussion | 3 | 01-16-2005 08:08 AM |
| GPS Longitude and Latitude does not agree with MapPoint | westbrooks | MapPoint 2006/2009 Discussion | 1 | 02-29-2004 05:20 PM |
| Can Mappoint 3.0 SDK return Latitude Longitude coordinates? | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-27-2004 05:56 PM |
| Latitude and Longitude | Anonymous | MapPoint 2006/2009 Discussion | 1 | 11-25-2003 12:52 PM |
| NMEA latitude/longitude and mappoint latitude/longitude | muurman | MapPoint 2006/2009 Discussion | 3 | 11-22-2003 04:42 AM |
Cheap Flights to Brussels
Book cheap flights to Brussels online today. Brussels is a city with diverse culture with over 100 museums to visit and an array of different architectural designs to view.
City Break Holidays
Top 10 City Breaks Holidays. Based on holidays booked this year, these are the most popular City Breaks Holidays for 2006
Holiday in Portugal
A holiday in Portugal is low cost but great value when you book with us online. Transportation and accommodation are excellent and very reasonable too.
Mauritius Holidays
Mauritis holidays are a sun drenched, sense tingling experience of a lifetime. You will find bargain deals on many holidays with us!
Turkey
Before booking a holiday to Turkey check out the ULookUBook travel guide. Find out about the rich culture in Turkey before you go there to help you to make the most of your holiday.
Family activity holidays
Family holidays can be full of fun activity. Check out your options at Travel.co.uk
Cheap Holidays in Lanzarote
Now's the time to get up and go visit the Canary Islands! View cheap holidays in Lanzarote only at On The Beach.