MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Pushpin set question

This is a discussion on Pushpin set question within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, i just started developing to Mappoint in VB6, and i have a question about pushpins. How can i create ...


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 11-18-2005
Junior Member
White Belt
 
Join Date: Nov 2005
Posts: 3
Pushpin set question

Hi, i just started developing to Mappoint in VB6, and i have a question about pushpins.

How can i create and then add a pushpin to a dataset and then display the dataset in the map?
I think that might be the best thing to do if you want to add a bunch of pushpins at the same time (and the fastest way too).

Thanks in advance.
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 11-18-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi,

Code:
            Location loc = mp.ActiveMap.GetLocation(lat, lon, alt);
            Pushpin pp  = mp.ActiveMap.AddPushpin(loc, "Name");
            pp.Symbol = 1;
            pp.Note = "test\r\n" + "and next line";
            pp.BalloonState = GeoBalloonState.geoDisplayBalloon;
            pp.Highlight = true;
            //PP.GoTo();
            mp.ActiveMap.GoToLatLong(lat, lon, alt);
Does this answer your question?
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 11-21-2005
Junior Member
White Belt
 
Join Date: Nov 2005
Posts: 3
Hi Wilfried,

No, it doesn't, I know how to create a pushpin, but i don't know how to create a set of them, i want to create a set because inserting pushpin by pushpin is very slow because MapPoint always refresh all the map and i thought that if I create a set of pushpin and add the set it could be faster.

Thanks
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 11-21-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi,

Now I understeand more of what you wants. No the AddPushPin is the only method you can use. Even if you use another dataset for the pushpins you have to add them 1 by 1.
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
Lat/Long with Pushpin -- question? onegalacticwino Products: Pushpin Tool, Single State Mapper 2 10-25-2004 09:23 AM
Pushpin programming question Anonymous MapPoint 2006/2009 Discussion 2 07-16-2004 03:08 PM
Pushpin question from newbie Anonymous MapPoint 2006/2009 Discussion 1 03-24-2004 11:26 AM
pushpin note question starbuck MapPoint 2006/2009 Discussion 4 12-03-2003 04:26 PM
Finding Pushpin Name by clicking on the Pushpin?(MP 2002) NickSP MapPoint 2006/2009 Discussion 4 01-10-2003 12:11 PM


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

Luxury Ski Holidays
Whether you are looking for luxury ski holidays or something simpler visit Holiday Hypermarket to compare prices. Getting value for your money is easy when you use us.

Italy Holidays
Find and book Italy Holidays with Travel Counsellors. Holiday destinations around the world including Italy.

Cuba Holiday
A Cuba Holiday has so much to offer with numerous different cultures affecting the sights, sounds and tastes. Visit this fascinating country with dealchecker.co.uk.

Bahamas Holidays
Bahamas Holidays offer pure blue skies, soft white beaches and the holiday of a lifetime. Visit us for a great deal to the Bahamas.

Cheap Cyprus Holidays
Finding cheap Cyprus holidays can be difficult unless you know where to look and where to book. With ulookubook.com you can conduct a simple search to find the latest holiday deals to your particular destination.

Holidays
At Travel.co.uk the options for holidays are endless. Do some online comparison shopping!

Holidays to Gran Canaria
The Canary Islands await! Book holidays to Gran Canaria online 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