[mapserver-commits] r8355 - in trunk/docs/_static: . openlayers/img
svn at osgeo.org
svn at osgeo.org
Tue Dec 30 16:04:54 EST 2008
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 VÎW sBIT|d tEXtSoftware www.inkscape.orgî< UIDAT8Ô±KBQÇñï0hPÂ!ht t±![ Å%j$qáÿàþ 7!'ÁÉ´ A1'
-¬¡$ ì6=({êÓ3ÞóãÃåî,® Ô¢Je: BÓbR*CíÀ´
PfB`pǶ\¡Zu!ÃJ.wL©tdzi»Ò
´òû·i4.H¥°Û7æa!!Ôý¹32á°NçEñb6϶ŲN2é§Ý8ô"{KmÍé´ÏP(ârÙ~·¼K¯2ù¦Û2|þ9_[)FohµÞ§[uCP¯7DQnÉf;³"µ¹ÐhôE"ñªÖ'ó¢E]HJI&óD<~G¿ÿ±èÂi)Ê?¨Ù|ÃçËP¾. ú@Výr.¥r«¿þ4°«!`|ý?¶ÒqÄÖA IEND®B`
\ No newline at end of file
+IHDR VÎW sBIT|d pHYs
+
+ÃNn tEXtSoftware www.inkscape.orgî< pIDAT8ÔÍ.CAÀñÿÌöK¹ªªXuÙ¥;;¯á¼x¯`cÉB¢Bã+$ÖGuÜ;w,lKå$çsfæáÏXWM¡#ÇU®4z|Ím*m.kÙð>b¡»Àå²áÑ0NbHÅîÕrlÝõM?3[¨M7þ5¬Cù!ÇNz'ýûen¹Ò!òظ*qZ÷Yè+3ÑsçÉ!kAb±aA°ý0ÀùI;]Ì*½{>äÄ^¶` @D!Ö\¬_°z<ÊnµûSÎÏoí,a·&°`GäTé|
Éü1E¯ RjFÚ.X(3½ z<ÒDGtðÄTáù¾;nâ{ÿj¡Ì
+cÙs¦
+GäÝú·ÈÐ`û-ÅÖ*~JÓªâÿM"ÈOk|~·Yþmú·´¹Üôb{Ô6~ªË#M IEND®B`
\ 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 VÎW sBIT|d tEXtSoftware www.inkscape.orgî< vIDAT8Ý;Ka¯÷-#Íh$!KÂÃèdCíAðýQ0ÿA[{kc'
- ÅÁZr$°·Á~¾~ÝÛsó<ÏI(¥å¢ÀÖÀ~k¥;f$DÙT#nÖ9pªÑÖ@BwK`id¨&p q3
-:y
Ü´Z_´Z]+ØRF[U'ÕjB!nÕÕÒ ¥p;-+Yáêj^ïHäçç+à¤M6¤RI07'©VSV´¤bM''A÷(N$üär!+PT@© øÆ]¯×N£qÓ¹`Ê~}m×èv{ 79 (â`yÙ
aLÀ' dzíÍMõú!R©3t:߬Õh6?M¾L<;KZB Åâæ@Ùì*ß2T>¿Îöö¢É<;ÅâÃL@ àâþþ}k;ú«´ýÐ/ö emñ¥þ¤ IEND®B`
\ No newline at end of file
+IHDR VÎW sBIT|d pHYs
+
+ÃNn tEXtSoftware www.inkscape.orgî< IDAT8cùÏÎô÷'àç?fvv¦¿?¯9Îe§Ä ýÉ?(1 ÐÏ +E®|!h>Éÿ®810000l6_ËÀÎô<uÞ1g¸ûMáî7Î;æx]Ó Ãïd=Ñó=Ña8üN4Þÿfg(½fÏðÿ?BìÿÒköïcO)X
+ª¾nÇðú'øë\Õ×í3hís5¯±*f```ØùZaís5qXûøaÉmE®8
+b```XòDÁEô!?"g¡ÄÏòa½éz¼àC0ÐÝ ÿÙµö'S\° Î÷Nný3$ IEND®B`
\ 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 VÎW sBIT|d tEXtSoftware www.inkscape.orgî< sIDAT8Í¿KQ+AÐP4 µ9 4ÕPAÿ@CsA ø¸9¹¹èf£K¦R¤Qh
-_"! §Á¨ß÷¡Cg;ïyïsÏå¾
-Î
mÿ nNNÖq8¦:ÏW¹¸x5U«
-B¡½a{;:¢<-#®LE£/ÜßX ÎÎRt:ÖøùiáõÞt(¯?YüþtýÛ +8×aÑn_ P8fqq~Ä\.×q:Ã4íqλ
-È«
-|¾;ÃvcÈÙ¬Ù$|¤Xüôét
X¬`fÈÚ¤Ù¤Õêàñ¤ h·;¸Ý×V¤
-C3G"±O©TçôôÊ
-Ñú %àXw-S«ýR«5Í :àÑêJ¤¥;À¥Ì¢tà@DËÀPzLô6Éô
ÁFÃ¥T`Ø6£ûÃIÍ?AÊ+ÉÎ IEND®B`
\ No newline at end of file
+IHDR VÎW sBIT|d pHYs
+
+ÃNn tEXtSoftware www.inkscape.orgî< gIDAT8ÍÔOKAÇñïìÎ:¥`Fm®:Dï:
+§N]z½^@¯Â7ÐI(ðà%©è вܩX*zèsù0óÏͳ+£¬$dÚVRYIx_¹VË@ÐZÎÊ 9|$½ Ml,RÂ`~,@dÐÖ|2v<z7Ï4yRV@¶¶9ʾp¾{Gf}´íl9ÍKìd1ñ÷ÂT¶ºl;ÁÌÕ&5JË!µÂ§ùG} ô¡_}NóÔ
+O¤åp1à*z±My£B`F!(oô¨Û¸ÊAf Rî×Â}°%ØOö©y-J¹·¹È\àd§KÕ}ÀÒ N¨ºìt"0UìédeDÕëÐ \ ª^¬þìgú\îÝNæ¿e!¤ìãÜë¯À8ÿ¯×V×´¡¶Õaãbéí5?nå1k]x IEND®B`
\ 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 VÎW sBIT|d tEXtSoftware www.inkscape.orgî< WIDAT8¿KBQÇ?ï!
-CH5)ù¢QPj±Á%Ûs\\ÝÞ(ÿA RCs¡CQPPD6çà I`·Á,yÏ÷|ßíü¸{ι+ !PKQà!`C¤E°%àdÞA]$÷s`sQ<U)H2¹E&³;ĸCH °F³yL£qÛm×Ä-?ÕÓ¹¢ìNï ËîEƯ£Õ*Ë)¢Øl+FÅþÂjg"á¦Táñ8æ¦A¡áõ:(Ç]¦ÉÓF¯÷A§Óg4úúèñ4$½"<£Õz[ô v¶ÛïÄb¤Rt»}Ó k½`½þß_¡P¸a0ø4 ¿NõÃrÏW¡Z}fÖHBÉ<abE"u\.;µÚKZZ !ò·À6mIZÖÇö
-ó¿`Þ ©Ná IEND®B`
\ No newline at end of file
+IHDR VÎW sBIT|d pHYs
+
+ÃNn tEXtSoftware www.inkscape.orgî< hIDAT8Í+DQÆçÜ3Î5Ѥ&%ùÊjþ ÿ²´ÿÀFY+6²PVR6
+ÊWѦá¸sï±roñlÏÛ¯çyÞ#Ú&羡ÀÑJKß/ëz@éÝ#ë|UÍ ²¯¸}MP®¨¿r¦Õ»4+·£<æß'Å$W¯3:ð:î(z\7ëi
+)DÌÅÄ
+ôê;Ü[ØÌö³õ4HÖkA¼W-úº(µ³ta/ßRa}ÅJ Iaq$EåGÐH"Ï\ï>ÓGté"¨XÕM©oÑ´Jm<f°ùì
(Dt¶ÈÖêÔ%}ñk÷Ãlç0óûú?5Ö£Ó=¤¯é
G§Á©±þ0%õS]gä<dìíï ¸ªÐ£JïÿvýÊNïÎÔý±} éÍwìU*XJ IEND®B`
\ 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 VÎW sBIT|d tEXtSoftware www.inkscape.orgî< ùIDAT8í±jAEÏÎÁBölcRÒÛú~°¡½åÖùíî7Øí6na÷¥pÄhâ`tKoyáx÷½BRE@ Ûd.
-ß¡Z-;CËå4]]Õjef³»]îJFcÄb±ý¤µBkEï Æ·bð²lC»ýA½^qæó5Y¶ùi¥ÎÑ'äbLïI^hª¨ P¤D > Eɱú>pO9Í.[$øºÿ%@×fOOD$øÜ6f4m Oä÷¿æyÃ7àh¯Ö9l8²½éàLd\¨ IEND®B`
\ No newline at end of file
+IHDR VÎW sBIT|d pHYs
+
+ÃNn tEXtSoftware www.inkscape.orgî< IDAT8cùÏÎô÷'àç?fvv¦¿?¯9Îe§Ä ýÉ?(1 DGXÐV?Sg¸ÿ¯&)¯12Wñ´ýµÃÁ7²x
+Òã{MØ PfüÏñ$Æþ
+CÃ Oñ{x
+Á_¬
+cX~þcf×ÚLqÁ o#ZÞþþ IEND®B`
\ 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 VÎW sBIT|d tEXtSoftware www.inkscape.orgî< {IDAT8;OAFÏà°dU,,DìøhLüÚIcAgk²ÿZ+-¬¬4±¶°Pc¤ÔØù4fáZ°.,,øÀl2óͽgwvF½(_6% íÆEà8±¯ûzºEJå'í³û9öDìJH©üpÌ~#ùâ ر/=û%÷¿tËDìJÈ
-àö äV« ªT*N±¸NñðP *X
-Ñ>@Éq RÞx ö$èz°¤éÜ b1a`Ya/·,xÜ ÑhR«9Ými9ïÏÏ»hò*§
Ãþ,ØçýýÃË:«@4ª1MM«%Þh"fí¬ßìõµJ&sÆôtùù)²ÙE î(Þ («ËUÈ·µ^Ö×ç89Ù`këÇA¥þ¶X¯;D£Ú7n
-`yy¸¹yMôSþí}ÊÖE£ód IEND®B`
\ No newline at end of file
+IHDR VÎW sBIT|d pHYs
+
+ÃNn tEXtSoftware www.inkscape.orgî< ÎIDAT8cùÏÎô÷'àç?fvv¦¿?¯9Îe§Ä ýÉ?(1 A*®Û3ø
+¢Ü O¿ÙÞüæ Ü bºÀÇ?ìËhÂù÷¿ 0|ýÃÆ0ã\ÌEô
+÷ü½ÿÍÁÐ}×ÃFd1I/
+ãüÄpÞn!_rÍáÊgaækàb,¿1,Â0á?+"Ç°0þe`dDÃhØèÀGâ©àÊ
+ò»K_^cùù]k2Å b=´ /" IEND®B`
\ No newline at end of file
More information about the mapserver-commits
mailing list