MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Setting latitude& longitude in mappoint 2006

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


Go Back   MapPoint Forums > Map Forums > MapPoint Web Service and Virtual Earth

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (6) Thread Tools Display Modes
  6 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 12-21-2006
Junior Member
White Belt
 
Join Date: Nov 2006
Posts: 8
Setting latitude& longitude in mappoint 2006

Hi Friends,
Is it possible to set the latitude and longitude directly to a location
object.
regards
kaushik
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 12-21-2006
Junior Member
Yellow Belt
 
Join Date: Sep 2002
Posts: 20
Question Re: Setting latitude& longitude in mappoint 2006

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
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 12-22-2006
Junior Member
White Belt
 
Join Date: Nov 2006
Posts: 8
Re: Setting latitude& longitude in mappoint 2006

Hi,
I refering to the windows mappoint 2006 application.
regards
kaushik
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 12-23-2006
Junior Member
Yellow Belt
 
Join Date: Sep 2002
Posts: 20
Post Re: Setting latitude& longitude in mappoint 2006

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 12-23-2006
Junior Member
Yellow Belt
 
Join Date: Sep 2002
Posts: 20
Post Re: Setting latitude& longitude in mappoint 2006

Oops! Forgot this declaration


Const cDISPATCHLOCATIONICON = 140
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

Tags
latitudeand, longitude, mappoint 2006, setting


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/setting-latitude-longitude-mappoint-2006-a-5518.html

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

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 08:32 PM.


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


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 52