MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




place a pushpin based on longitude n latitude using vba

This is a discussion on place a pushpin based on longitude n latitude using vba within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; can return long/lat of a waypoint but need to place a pushpin based on the long/lat of that waypoint....


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-06-2006
Junior Member
White Belt
 
Join Date: Aug 2006
Posts: 8
place a pushpin based on longitude n latitude using vba

can return long/lat of a waypoint but need to place a pushpin based on the long/lat of that waypoint.
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-06-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi,

I do not understeand your question very well, but if you need to place a pushpin on a give lat/long coordinate you can use this code. MP is the name of the ActiveX control in this example.

Code:
 Location loc = MP.ActiveMap.GetLocation(lat, lon, 1);
 Pushpin pp = MP.ActiveMap.AddPushpin(loc, name);
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
How to recover Latitude and Longitude from a pushpin prynel_laurent MapPoint 2006/2009 Discussion 1 03-21-2006 02:18 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
VB6 - Latitude and longitude of a pushpin ??? Vincent BENNER MapPoint 2006/2009 Discussion 1 11-12-2002 06:03 AM
How to get the latitude and longitude for each pushpin Anonymous MapPoint 2006/2009 Discussion 1 09-14-2002 11:42 AM


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

Orlando Flights
Holidays in Orlando are fantastic for families. There are a massive range of spectacular theme parks. Let Holiday Hypermarket book you great value Orlando flights and hotels.

City Breaks
Top 10 City Breaks . Based on holidays booked this year, these are the most popular City Breaks for 2006

Flight to Canada
Book a flight to Canada to explore one of the most exciting travel destinations in the world. There are loads of interesting cities but some even more impressive natural beauty.

Sri Lanka Holidays
There are some outstanding deals on Sri Lanka holidays at theholidayplace.co.uk. Sri Lanka is renowned for it's exceptional beauty! Book a holiday today!

Cyprus
Before visiting Cyprus, make sure you are well informed to make the most of your holiday. Online at ulookubook.com you check out our useful travel guides. Find out all about the Cyprus nightlife, shopping, eating and customs.

Comparison Holidays
Travel.co.uk is a travel comparison service which makes it easy for you to find and plan the best holidays.

Holidays in Fuerteventura
Need a break? Go to the Canary Islands! Find information on holidays in Fuerteventura 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