| Developing with the SDK > Using and Adding Renderers > Predefined Renderers > The DrillDown Renderer |
The DrillDown Renderer |
INDEX
PREVIOUS
NEXT
|
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 { DrilDown: "true"; } |
Table 4.8lists the global properties of the DrillDown renderer.
The following code extract shows how to configure the DrillDown renderer global property:
DrillDown { showingIndicator: "true"; } |
Table 4.9 lists the 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:
link[distance>="1000"] { DrillDownZoom : "0"; } link[distance<"1000"] { DrillDownZoom : "2"; } link[distance<"100"] { DrillDownZoom : "4"; } link[distance<"10"] { DrillDownZoom : "8"; } |
See the class ilog.views.sdm.renderer.IlvDrillDownRenderer for more details.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |