diff --git a/examples/utfgrid-geography-class.html b/examples/utfgrid-geography-class.html index a8fc106465..43d5222a44 100644 --- a/examples/utfgrid-geography-class.html +++ b/examples/utfgrid-geography-class.html @@ -27,43 +27,6 @@ bottom: 5px; font-size: 9px; } - div.olControlZoomPanel { - top: 10px; - left: 10px; - } - div.olControlZoomPanel .olControlZoomInItemInactive, - div.olControlZoomPanel .olControlZoomOutItemInactive { - background: rgba(0, 0, 0, 0.2); - position: absolute; - } - div.olControlZoomPanel .olControlZoomInItemInactive { - border-radius: 3px 3px 0 0; - } - div.olControlZoomPanel .olControlZoomOutItemInactive { - border-radius: 0 0 3px 3px ; - top: 20px; - } - div.olControlZoomPanel div:hover { - background: rgba(0, 0, 0, 0.5); - } - div.olControlZoomPanel .olControlZoomOutItemInactive:after , - div.olControlZoomPanel .olControlZoomInItemInactive:after { - font-weight: bold; - content: '+'; - font-size: 18px; - padding: 0 2px; - z-index: 2000; - color: #fff; - line-height: 1em; - } - div.olControlZoomPanel .olControlZoomOutItemInactive:after { - content: '–'; - line-height: 0.9em; - padding: 0 5px; - } - div.olControlZoomPanel .olControlZoomToMaxExtentItemInactive { - display: none; - } diff --git a/examples/utfgrid-geography-class.js b/examples/utfgrid-geography-class.js index 3cc7ce4cd5..5698827ab6 100644 --- a/examples/utfgrid-geography-class.js +++ b/examples/utfgrid-geography-class.js @@ -26,7 +26,7 @@ var map = new OpenLayers.Map({ enableKinetic: true } }), - new OpenLayers.Control.ZoomPanel() + new OpenLayers.Control.Zoom() ], center: [0, 0], zoom: 1