[worldKit-dev] Controlling annotation visibility based on zoom level

Mikel Maron mikel_maron at yahoo.com
Tue Aug 15 12:03:16 PDT 2006


Hi Jim

Welcome :)

There are two approaches to these problems generally .. first by manually specifying which annotations are visible at which zoom level, and second by automatically 'clustering' annotations to reduce clutter at lower zoom.

The first is easy, the second hard, and both would be great to have implemented in worldKit .. which can't handle either yet.

Specifying the annotation zoom level visibility would be a straightforward thing to implement. Though I am lacking time at the moment. This would be an ideal contribution.
I can guide you, or another developer, in how to implement this.

Mikel

----- Original Message ----
From: Jim Baack <jhb01 at thebaacks.com>
To: worldkit-dev at lists.brainoff.com
Sent: Thursday, August 10, 2006 2:35:35 PM
Subject: [worldKit-dev] Controlling annotation visibility based on zoom level

I'm new to worldkit so my apologies if there's a documented answer to this question - I didn't find one.

I'm wondering about how to control the visibility of anotations based on how far in/out the map is zoomed. The scenario is something like this - a Zoomified map of California with heavy annotations at the city level. Viewing the whole state, the annotations would be an ugly mess all on top of each other in each city. They would then separate and become useful as one zooms in. Is there a way to turn off the annotations at the outer zoom - or better, indicate that there are multiple annotations but not try to display every one? Thanks.

Jim

_______________________________________________
worldkit-dev mailing list
worldkit-dev at lists.brainoff.com
http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com






More information about the worldkit-dev mailing list