When 1 marker changes we just repaint the "dirty rectangle" around it, so
it's quite fast to pop a marker in or out of a tile.

There's a minor issue with leaving the tile alone and rendering another copy
of the marker in front: translucent markers would suddenly appear to have
higher opacity.

On Thu, Mar 3, 2011 at 2:56 PM, bratliff <bratl...@umich.edu> wrote:

> On Mar 3, 2:07 am, Ben Appleton <apple...@google.com> wrote:
>
> > We will soon add a robust way to bring a marker to the front.
>
> You could leave the main CANVAS tiles containing many markers alone.
> You could float a separate CANVAS element containing just one marker
> over it.  It also works for temporary style (color / opacity) changes
> to one marker without changing the main tiles.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to