[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapserver-commits
Subject:    [mapserver-commits] r8355 - in trunk/docs/_static: . openlayers/img
From:       svn () osgeo ! org
Date:       2008-12-30 21:04:54
Message-ID: 20081230210454.51B2CE00D57 () lists ! osgeo ! org
[Download RAW message or body]

Author: tbonfort
Date: 2008-12-30 16:04:54 -0500 (Tue, 30 Dec 2008)
New Revision: 8355

Modified:
   trunk/docs/_static/ol.js
   trunk/docs/_static/openlayers/img/east-mini.png
   trunk/docs/_static/openlayers/img/north-mini.png
   trunk/docs/_static/openlayers/img/south-mini.png
   trunk/docs/_static/openlayers/img/west-mini.png
   trunk/docs/_static/openlayers/img/zoom-minus-mini.png
   trunk/docs/_static/openlayers/img/zoom-plus-mini.png
Log:
use mapserver colors for openlayers controls


Modified: trunk/docs/_static/ol.js
===================================================================
--- trunk/docs/_static/ol.js	2008-12-30 18:04:52 UTC (rev 8354)
+++ trunk/docs/_static/ol.js	2008-12-30 21:04:54 UTC (rev 8355)
@@ -3,6 +3,31 @@
 var zoom = 7;
 var map;
 
+
+OpenLayers.Control.PanZoom.prototype.draw = function(px) {
+    // initialize our internal div
+      OpenLayers.Control.prototype.draw.apply(this, arguments);
+    px = this.position;
+
+      // place the controls
+      this.buttons = [];
+
+      var sz = new OpenLayers.Size(18,18);
+    var centered = new OpenLayers.Pixel(px.x+sz.w/2, px.y);
+
+      this._addButton("panup", "north-mini.png", centered, sz);
+    px.y = centered.y+sz.h;
+    this._addButton("panleft", "west-mini.png", px, sz);
+    this._addButton("panright", "east-mini.png", px.add(sz.w, 0), sz);
+    this._addButton("pandown", "south-mini.png",
+                        centered.add(0, sz.h*2), sz);
+    this._addButton("zoomin", "zoom-plus-mini.png",
+                        centered.add(0, sz.h*3.5+5), sz);
+    this._addButton("zoomout", "zoom-minus-mini.png",
+                        centered.add(0, sz.h*4.5+5), sz);
+    return this.div;
+};
+
 function olmapinit(){
   map = new OpenLayers.Map( 'olmap', {
 restrictedExtent: new OpenLayers.Bounds(243000,6236000,278000,6263000),

Modified: trunk/docs/_static/openlayers/img/east-mini.png
===================================================================
--- trunk/docs/_static/openlayers/img/east-mini.png	2008-12-30 18:04:52 UTC (rev \
                8354)
+++ trunk/docs/_static/openlayers/img/east-mini.png	2008-12-30 21:04:54 UTC (rev \
8355) @@ -1,5 +1,8 @@
 PNG
 
 
-IHDR
-$	6=({3, ԀJe: \
BӕbR*CPfB`p\Zu!J.wLtdzi҅i4.H7a!!32ᰛNEb6 \
όŲN28"{Km鴑ϟP(r~K22|9_[)Fohާ[uCP7DQnf;"hE"'E]HJI&D<~G \
i)?|P. \ No newline at end of file
+IHDR
+
+Nn
+cs
+Gȗ`-*~JӪM"Ok|~Ymb{6~#M
\ No newline at end of file

Modified: trunk/docs/_static/openlayers/img/north-mini.png
===================================================================
--- trunk/docs/_static/openlayers/img/north-mini.png	2008-12-30 18:04:52 UTC (rev \
                8354)
+++ trunk/docs/_static/openlayers/img/north-mini.png	2008-12-30 21:04:54 UTC (rev \
8355) @@ -1,6 +1,8 @@
 PNG
 
 
-IHDR
- ŭZr$~~s<I(~k;f$DT#n9p@BwK`id&p \
                q3
-:y	ܴZ_Z]+؆RF[U'jB!n \
p;-+Yj^H+M6RI07'VSVbM''A(N$r!+PT@	]Nqӹ`~}mv{ \
79	(`yمaL' dzM!R3t:߬h6?ML<;KZB \ No newline at end of file
+IHDR
+
+Nn
+n'\3hs5*f```Zas5qXamE8
+b```XDE!?"gazC0 ٵ'S\
\ No newline at end of file

Modified: trunk/docs/_static/openlayers/img/south-mini.png
===================================================================
--- trunk/docs/_static/openlayers/img/south-mini.png	2008-12-30 18:04:52 UTC (rev \
                8354)
+++ trunk/docs/_static/openlayers/img/south-mini.png	2008-12-30 21:04:54 UTC (rev \
8355) @@ -1,11 +1,8 @@
 PNG
 
 
-IHDR
-_"! Cg;ys
-΅m	nNNq8:Wx5U
-Ba{;:<-#LE/X
-ȍ
-|;ívcـ$|XtX`fڀ٤
-C3G"OT
-ю %Xw-SR5 \
:J;̢t@DPzL6FåT`6I͐?Aʏ+΀ \ No newline at \
end of file +IHDR
+
+Nn
+N]z^@ 7I(% вܙX*zs0ψͳ+$dVRYIx_V@Z 9|$ \
Ml,R `~,@d|2v<z74yRV@9ʾp{Gf}l9́Kd1 \
Tl;&5J! G} _}N +Op1*zMyB`F!(o۸ʟAf R \
}%Oy-J\dK}	Nt"0UdeD	\ \ No newline at end of file

Modified: trunk/docs/_static/openlayers/img/west-mini.png
===================================================================
--- trunk/docs/_static/openlayers/img/west-mini.png	2008-12-30 18:04:52 UTC (rev \
                8354)
+++ trunk/docs/_static/openlayers/img/west-mini.png	2008-12-30 21:04:54 UTC (rev \
8355) @@ -1,6 +1,9 @@
 PNG
 
 
-IHDR
-CH5)QPj%s\\(A RCsCQPPD6 \
I`,y|{ι+	!PKQ!`CE%dA]$s`sQ<U)H2E&;ĸCH \
FyLqm-?՝ӹN ˒EƯ*)l+F \
jg"T8A:(]FAg44$"<z[ vbRt} \
                k`_Pa04	NrWZ}f֒HBɊ<abE"u\.;ڋKZZ
-` N
\ No newline at end of file
+IHDR
+
+Nn
+Wьsﱘrolۯy#&策JKߜ/z@#|U \
}MPrջ4+<߃'$W3::(z\7i +)DŕĄ
+;ܔ[4HkAW-(ta/Ra}J	Iaq$EGH"\>ӝGt"XMoѴJm<f(Dtꝉ%}kl0?5֚=G0%S]g<d \
УJvN} \ No newline at end of file

Modified: trunk/docs/_static/openlayers/img/zoom-minus-mini.png
===================================================================
--- trunk/docs/_static/openlayers/img/zoom-minus-mini.png	2008-12-30 18:04:52 UTC \
                (rev 8354)
+++ trunk/docs/_static/openlayers/img/zoom-minus-mini.png	2008-12-30 21:04:54 UTC \
(rev 8355) @@ -1,5 +1,10 @@
 PNG
 
 
-IHDR
-Z-;C4]]jef]JFcbBkE \
ƜblCA^q5Yi'bLI^h \ No newline at end of file
+IHDR
+
+Nn
+{M Pf$
+C O{x
+_
+cX~cfڟLq
\ No newline at end of file

Modified: trunk/docs/_static/openlayers/img/zoom-plus-mini.png
===================================================================
--- trunk/docs/_static/openlayers/img/zoom-plus-mini.png	2008-12-30 18:04:52 UTC (rev \
                8354)
+++ trunk/docs/_static/openlayers/img/zoom-plus-mini.png	2008-12-30 21:04:54 UTC (rev \
8355) @@ -1,7 +1,10 @@
 PNG
 
 
-IHDR
-
->@q
-`yyyMS}ʃEd
\ No newline at end of file
+IHDR
+
+Nn
+ O  b?˟h 	0|0\E
+}Fd1I/
+pn!_r͑gakb,1, 0?+"ǰ0e`dDhG
+K_^c]k2
\ No newline at end of file

_______________________________________________
mapserver-commits mailing list
mapserver-commits@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic