[Webflysuesk-commits] r54 - in webflysuesk/branches/openlayers-integration: . webflys/src/main/webapp/pages
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Apr 8 18:50:45 CEST 2009
Author: iweinzierl
Date: 2009-04-08 18:50:44 +0200 (Wed, 08 Apr 2009)
New Revision: 54
Modified:
webflysuesk/branches/openlayers-integration/ChangeLog.txt
webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/karte.js
webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/style.css
Log:
Changed layout of icons. New OpenLayers Control for Zooming.
Modified: webflysuesk/branches/openlayers-integration/ChangeLog.txt
===================================================================
--- webflysuesk/branches/openlayers-integration/ChangeLog.txt 2009-04-08 14:53:36 UTC (rev 53)
+++ webflysuesk/branches/openlayers-integration/ChangeLog.txt 2009-04-08 16:50:44 UTC (rev 54)
@@ -1,4 +1,11 @@
2009-04-08 Ingo Weinzierl <ingo.weinzierl at intevation.de>
+
+ * webflys/src/main/webapp/pages/karte.js: Icon-Layout changed and a further
+ OpenLayers Zoom Control added.
+
+ * webflys/src/main/webapp/pages/style.css: Layout definitions for icons.
+
+2009-04-08 Ingo Weinzierl <ingo.weinzierl at intevation.de>
* webflys/src/main/webapp/pages/InteractiveRangeSelection.js: The buffer for
the specification of the nearest feature of a clickpoint, now depends on
Modified: webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/karte.js
===================================================================
--- webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/karte.js 2009-04-08 14:53:36 UTC (rev 53)
+++ webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/karte.js 2009-04-08 16:50:44 UTC (rev 54)
@@ -141,7 +141,7 @@
// creating the tool panel
panel = new OpenLayers.Control.Panel({
- displayClass: "olControlEditingToolbar"
+ displayClass: "olControlPanel"
});
@@ -199,10 +199,19 @@
displayClass: "olControlSaveFeatures"
});
+ var pan = new OpenLayers.Control.MouseDefaults({
+ title: 'Verschieben der Karte',
+ displayClass: 'olControlPan'
+ });
+
+ var zoomIn = new OpenLayers.Control.ZoomBox({
+ title:"Zum Zoomen ziehen Sie eine Box auf, indem Sie klicken und ziehen",
+ displayClass: 'olControlZoomIn'
+ });
+
// adding the control elements to the panel
panel.addControls([
- new OpenLayers.Control.Navigation(),
- save, pipes, rills, causeys
+ pan, zoomIn, save, pipes, rills, causeys
]);
// add the panel to the map
Modified: webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/style.css
===================================================================
--- webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/style.css 2009-04-08 14:53:36 UTC (rev 53)
+++ webflysuesk/branches/openlayers-integration/webflys/src/main/webapp/pages/style.css 2009-04-08 16:50:44 UTC (rev 54)
@@ -73,3 +73,45 @@
font-size: 8pt;
margin-bottom: 10px;
}
+
+.olControlPanel div {
+ background-color: white;
+ float: left;
+ display: block;
+ position: relative;
+ left: 80px;
+ margin: 5px;
+ width: 24px;
+ height: 24px;
+}
+
+.olControlPanItemActive {
+ background-image: url("http://beige.rgb:8080/webflys/images/pan_on.png");
+}
+.olControlPanItemInactive {
+ background-image: url("http://beige.rgb:8080/webflys/images/pan_off.png");
+}
+.olControlZoomInItemActive {
+ background-image: url("http://beige.rgb:8080/webflys/images/zoomIn_on.png");
+}
+.olControlZoomInItemInactive {
+ background-image: url("http://beige.rgb:8080/webflys/images/zoomIn_off.png");
+}
+.olControlDrawMarkerItemActive {
+ background-image: url("http://beige.rgb:8080/webflys/images/startend_active.png");
+}
+.olControlDrawMarkerItemInactive {
+ background-image: url("http://beige.rgb:8080/webflys/images/startend_inactive.png");
+}
+.olControlDrawFeaturePathItemInactive {
+ background-image: url("http://beige.rgb:8080/webflys/images/draw_line_off.png");
+}
+.olControlDrawFeaturePathItemActive {
+ background-image: url("http://beige.rgb:8080/webflys/images/draw_line_on.png");
+}
+.olControlSaveFeaturesItemInactive {
+ background-image: url("http://beige.rgb:8080/webflys/images/OpenLayers/save_features_off.png");
+}
+.olControlSaveFeaturesItemActive {
+ background-image: url("http://beige.rgb:8080/webflys/images/OpenLayers/save_features_on.png");
+}
More information about the Webflysuesk-commits
mailing list