MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Is it possible to display more than 100 Pushpins?

This is a discussion on Is it possible to display more than 100 Pushpins? within the MapPoint Web Service and Virtual Earth forums, part of the Map Forums category; I'm creating a WebApp and trying to display more than 100 Pushpins at a time but get restricted by the ...


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 Thread Tools Display Modes
  #1 (permalink)  
Old 05-05-2006
ddd ddd is offline
Junior Member
White Belt
 
Join Date: May 2006
Posts: 1
Is it possible to display more than 100 Pushpins?

I'm creating a WebApp and trying to display more than 100 Pushpins at a time but get restricted by the default value of 100.
Is there a work around for this?
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 10-07-2006
Junior Member
Yellow Belt
 
Join Date: Sep 2002
Posts: 20
Yes - you will have to "paint" them manually on the map image. Here is what I do

1. Store all my pushpins in a collection
2. Get the bounding rectangle of all pushpins.
3. Render the map with just 100 pushpins but with map size determined in step 2.
4. When the map image is returned from web service, convert the remainder of pushpins to screen coordinates in terms of the picture returned.
5. Paint each pushpin on the map image using GDI drawing API.

I have done this 18000+ pushpins and it is fairly fast. One more thing I did was to use small filled in circles instead of pushpins just because they are easier to draw instead of the pushpin images ).
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 10-07-2006
Junior Member
Yellow Belt
 
Join Date: Sep 2002
Posts: 20
I forgot to mention that when you are converting geo-codes to screen coordinates, do so in chunks of 1000 instead of individually. This will make a ton of difference in the performance.
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-07-2006
Junior Member
Yellow Belt
 
Join Date: Sep 2002
Posts: 20
Re: Is it possible to display more than 100 Pushpins?

I finally got around to drawing pushpins instead of circles. Check put the attached JPEG.
Attached Images
File Type: jpg 100Plus_Pushpins.JPG (71.8 KB, 18 views)
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
100, display, pushpins


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
Display pushpins using Eastings and Northings Landyd MapPoint 2006/2009 Discussion 2 05-24-2006 09:49 AM
Display setting for Map alwasl8 MapPoint 2006/2009 Discussion 1 10-07-2005 10:37 PM
how to display the names of multiple pushpins Anonymous MapPoint 2006/2009 Discussion 1 04-19-2005 01:32 PM
In VB is there any way to display just the map pan.... Anonymous MapPoint 2006/2009 Discussion 1 07-18-2002 09:58 PM
I would like to display the information tag on eac.... Anonymous MapPoint 2006/2009 Discussion 1 05-02-2002 07:22 AM


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


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 53 54