Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Tips for large amounts of markers
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Michael Hansen  
View profile  
 More options May 22 2008, 1:27 pm
From: Michael Hansen <seguetes...@gmail.com>
Date: Thu, 22 May 2008 10:27:35 -0700 (PDT)
Local: Thurs, May 22 2008 1:27 pm
Subject: Tips for large amounts of markers
I have an application that needs many, many markers....just under 10
million.  So, I have two questions:

1) I realize that 10M is an absurd number to try to load at once;
however, I would like to do more than 10k at a time and still have a
good user experience.  Does anyone have any tips or advice on how to
best do this?

2) I have seen other (non-Flex/Flash) sites that load a subset of
markers at intervals.  This way the user progressively gets more data
to visually consume as the page loads.  In addition, the user knows
that the application is still active and working.  Any advice on how I
can do this in Flex?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joseph Bernstein  
View profile  
 More options May 22 2008, 4:41 pm
From: Joseph Bernstein <joe.bernst...@gmail.com>
Date: Thu, 22 May 2008 16:41:41 -0400
Local: Thurs, May 22 2008 4:41 pm
Subject: Re: Tips for large amounts of markers
1.) make sure to use some sort of caching system for the markers. IE  
Dont re-instantiate 10k markers every time you load more data.
2.) do a limit test and see how much memory your application consumes  
at 1k / 5k/ 10k markers. I have a feeling 10k markers is way too many.  
(and totally unnecessary given #3)
3.) only load and display markers that are visible based on the bounds  
of the map and the zoom level. Unless your maps is huge 10k markers  
will be a jumbled unusable mess.

On May 22, 2008, at 1:27 PM, Michael Hansen wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pamela (Google Employee)  
View profile  
 More options May 22 2008, 5:21 pm
From: "pamela (Google Employee)" <pamela....@gmail.com>
Date: Thu, 22 May 2008 14:21:42 -0700 (PDT)
Local: Thurs, May 22 2008 5:21 pm
Subject: Re: Tips for large amounts of markers
Regarding #3 - we have an extension for the Maps API called
MarkerManager that helps you do exactly that - once you determine
appropriate markers/cluster markers per zoom level, it will only
display the markers for a certain viewport/zoom. I'd be willing to
port that to AS3 if there's interest.

More info on that here:
http://gmaps-utility-library.googlecode.com/svn/trunk/markermanager/r...

Another option for large amount of markers is to render them into a
tile layer, and only turn them into clickable markers at a high zoom
level.

- pamela

On May 22, 1:41 pm, Joseph Bernstein <joe.bernst...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin MacDonald  
View profile  
(1 user)  More options May 22 2008, 9:33 pm
From: Kevin MacDonald <kevin.macdon...@pentura.ca>
Date: Thu, 22 May 2008 21:33:01 -0400 (EDT)
Local: Thurs, May 22 2008 9:33 pm
Subject: Re: Tips for large amounts of markers
Michael,

Do you need to load them all, or is a subset of the 10M acceptable For example, return and display points relevant only to the viewport (which would be a small subset of the entire world). Or perhaps, return points based on other non-spatial criteria (eg. only POI that are tagged with "X").

If so, you can use any database that supports spatial queries. There's a fair bit of application-level work to get it all to work, though.

A small plug: our company Pentura Solutions has a product called the "Spatial DataBox". It can handle 10s of millions of points and perform queries on this set with a best-case response time of 1 / 10,000 second. I'm currently writing a connector for ActionScript 3 clients such as Google Maps for Flash.

Thank you


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
justRIA  
View profile  
 More options May 25 2008, 8:20 pm
From: justRIA <seaside...@mac.com>
Date: Sun, 25 May 2008 17:20:51 -0700 (PDT)
Local: Sun, May 25 2008 8:20 pm
Subject: Re: Tips for large amounts of markers

On 22 Mai, 23:21, "pamela (Google Employee)" <pamela....@gmail.com>
wrote:

> appropriate markers/cluster markers per zoom level, it will only
> display the markers for a certain viewport/zoom. I'd be willing to
> port that to AS3 if there's interest.

If I add 400 markers, the map gets useless, since each move (drag the
map) takes seconds to complete.

Therefore: Please port and post!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Hansen  
View profile  
 More options May 27 2008, 1:28 pm
From: Michael Hansen <seguetes...@gmail.com>
Date: Tue, 27 May 2008 10:28:39 -0700 (PDT)
Local: Tues, May 27 2008 1:28 pm
Subject: Re: Tips for large amounts of markers
Back from the long weekend.  Thanks for all the feedback.  Here is
what I am thinking will be typical map behavior:

The map will cover nearly all of California with 10M + markers.  So,
at the lowest zoom level there is no way to make sense of 10M markers
that are all receiving real-time data feeds...even if it was possible
to load them in a timely manner.  So, I will have to use polygones
that summarize the markers statistics.  As the zoom level increases
then the size of the polygones will have to change also.  Eventually,
the polygones will be replaced by markers once the marker density is
<
2000 or so.  I have found that I can efficiently pan and zoom at this
density of markers if I clear the markers before the pan/zoom and re-
render them at the end of the pan/zoom.  My only concern is that I am
wondering how in the Flash API to make this perform the bast.  Is
there
something that I am missing here in the FlashAPI other than creating
markers with Lat and Lon and adding them to the overlay?  Is there a
way to load them in batches or collections?

- Michael

On May 25, 5:20 pm, justRIA <seaside...@mac.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chris  
View profile  
 More options May 27 2008, 7:08 pm
From: chris <cg...@netmanifold.com>
Date: Tue, 27 May 2008 16:08:57 -0700 (PDT)
Local: Tues, May 27 2008 7:08 pm
Subject: Re: Tips for large amounts of markers
I'm have the same problem and I'd love to see it ported to AS3.

Thanks!

On May 22, 2:21 pm, "pamela (Google Employee)" <pamela....@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pamela (Google Employee)  
View profile  
 More options May 27 2008, 7:09 pm
From: "pamela (Google Employee)" <pamela....@gmail.com>
Date: Tue, 27 May 2008 16:09:59 -0700 (PDT)
Local: Tues, May 27 2008 7:09 pm
Subject: Re: Tips for large amounts of markers
I'm working on porting it right now. :)

- pamela

On May 27, 4:08 pm, chris <cg...@netmanifold.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chris  
View profile  
 More options May 27 2008, 7:32 pm
From: chris <cg...@netmanifold.com>
Date: Tue, 27 May 2008 16:32:11 -0700 (PDT)
Local: Tues, May 27 2008 7:32 pm
Subject: Re: Tips for large amounts of markers
Great!  Thanks for all your hard work!!!   How long does something
like that take?  ...no pressure, just curious :-)

On May 27, 4:09 pm, "pamela (Google Employee)" <pamela....@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pamela (Google Employee)  
View profile  
 More options May 28 2008, 12:02 am
From: "pamela (Google Employee)" <pamela....@gmail.com>
Date: Tue, 27 May 2008 21:02:30 -0700 (PDT)
Local: Wed, May 28 2008 12:02 am
Subject: Re: Tips for large amounts of markers
Approximately an afternoon.

But now, I need testers. :)

I'll post a new thread with links to the code and examples in a
moment.

- pamela

On May 27, 4:32 pm, chris <cg...@netmanifold.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google