.. _widget-zoomslider-label:
========================
ZoomSlider
========================
Replaces the OpenLayers zoom slider control by the GeoExt ZoomSlider widget by
using a *Slider* from ExtJS and some *.css* replacement.
.. note:: Must be applied as an item of a GeoExt.MapPanel with layout:'anchor'.
.. note:: This widget must appear only once.
XML Sample
------------
Sample configuration
.. code-block:: xml
W_MyZoomSlider
drawWidget Sample
-------------------
The widget can be drawn with the *drawWidget* function but directly in a
GeoExt.MapPanel object. Here's an example of use :
.. code-block:: xslt
oMyMapPanel = new GeoExt.MapPanel ({
id: 'gpDefaultMap',
title: 'Map',
layout: 'anchor', // (Mandatory)
region: 'center',
border: false,
height: 800,
width: 800,
items: [
],
map: oMap
});
Mandatory Options
-------------------
N/A
Optional Options
------------------
N/A
Service Type
--------------
N/A
Widget Action
--------------
read