The
DrillDown
renderer allows you to display more and more objects as you zoom in
the view. The objects are dispatched to different manager layers
with visibility filters, which are configured according to the
object property
DrillDownZoom
. All the objects with the same drill-down zoom are placed in a
manager layer that is visible only when the view’s zoom level is
greater than the drill-down zoom.
The following code extract illustrates how to enable the
DrillDown
renderer:
SDM { DrillDown: "true"; }
The following table lists the global properties of the
DrillDown
renderer.
Global properties of the DrillDown
renderer
Property
|
Type
|
Default
|
Description
|
---|---|---|---|
showingIndicator
|
boolean
|
false
|
Specifies whether an icon should be
displayed in the top-left corner of the view to alert the user
that some objects are not visible at the current zoom level.
The indicator disappears when the user zooms in enough to make
all objects visible.
|
The following code extract shows how to configure the
DrillDown
renderer global property:
DrillDown { showingIndicator: "true"; }
The following table lists the per-object properties of the
DrillDown
renderer.
Per-object properties of the DrillDown
renderer
Property
|
Type
|
Default
|
Description
|
---|---|---|---|
DrillDownZoom
|
double
|
0
|
Specifies the zoom level above which the
objects become visible.
|
The following code extract illustrates how to specify the drill
down zoom level for objects based on data model properties. In this
scenario, links become visible according to the data model property
distance
:
Specifying drill down zoom levels
link[distance>="1000"] { DrillDownZoom : "0"; } link[distance<"1000"] { DrillDownZoom : "2"; } link[distance<"100"] { DrillDownZoom : "4"; } link[distance<"10"] { DrillDownZoom : "8"; }
See the class IlvDrillDownRenderer for more details.