Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 4 of 4

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 Bing Maps and MapPoint Web Service 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 ...

  1. #1
    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?

  2. #2
    shaistasohail is offline 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 ).

  3. #3
    shaistasohail is offline 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.

  4. #4
    shaistasohail is offline 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 Attached Images

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Display pushpins using Eastings and Northings
    By Landyd in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-24-2006, 09:49 AM
  2. Display setting for Map
    By alwasl8 in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-07-2005, 10:37 PM
  3. how to display the names of multiple pushpins
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 04-19-2005, 01:32 PM
  4. In VB is there any way to display just the map pan....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-18-2002, 09:58 PM
  5. I would like to display the information tag on eac....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-02-2002, 07:22 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96