[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Â!ht	t±![„ Å%j$qáÿ‚àƒþ 7!'ÁÉ´ ”A1'
-¬¡„$	ì6=({êÓ3ÞóãÃå,® Ô€¢”Je: BÓ•bR*CíÀ´…PfB‘ˆ›`pǶ\¡Zu!‡ÃJ.wL©t†Ç³i»Ò…´òû·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  
+  
+ÃN™n   tEXtSoftware www.inkscape.org›î<  pIDAT8­ÔÍ.CAÀñÿ̝öŠK¹ªªXuÙˆˆ¥;‰;¯á¼„x¯`cÉB¢Bã+$‰ÖGuÜ;w,lˆ‹Kå$ç—sfæáÏ­XWM¡#ÇU®4z|Ím*m.kÙð>b¡»Àå²áÑ0NbHÅîÕrlÝõ“M?3[¨M7þ5¬Cù!ÇN­—“z'‹ýûen¹Ò’!òظ*qZ÷Yè+3Ñs†ç„É!kAb±a€A°ý0ÀùI;‡]Ì*½{”ˆ>äÄ^¶` @D!Ö\¬_Ž°z<ÊnµûSΏÏoíˆ,a“·&°`GäTé|…Éü1E¯šŒ RjFÚ.X(3ž½ “z‰­<Ò‘DGŠtðÄ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Ý’;K‚a†¯÷-‘#Íh$!KÂÃèdCíAðýQ0ÿ€A[{kc'
-‡ Å­ÁZr’$°·Á~¾~ÝÛsó<ÏI(¥˜”吢ÀÖÀ~k¥Œ;­f$DÙT€#nÖ9pª”ÑÖ@B”wK`id¨&p ”q3
-:y™	…Ü´Z_´Z]+؆RF[ŒŠU'ÕjŠB!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  
+  
+ÃN™n   tEXtSoftware www.inkscape.org›î<  IDAT8c­ùÏÎô÷'àç?fvv¦¿?¯9Îe§Ä ­ýÉ?™(1 ÐÏ +ŸE®|!h>ÉŸÿ˜Š®810000l6_ËÀÎô—<uÞ1g¸ûM€áî7†Î;æx]„Ó Ãïd=сó=Ña8üN–4ƒÞÿfg(½fÏðÿ?Bìÿ†ÒköïcO)X
+ª¾nÇðú'†øëŸ\Õ×íˆ3hís5†¯±*f```ØùZ‘aís5q”Xûø‡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Í’¿K‚Q†Ÿ+AÐP4	µ9„ 4ÕPAÿ@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ËÀPŽz‚ˆL‰ô6Éô…ÁFÃ¥T`Ø6žœ£ûÃI͐?Aʏ+É΀    IEND®B`‚
\ No newline at end of file
+IHDR         VÎŽW   sBIT|dˆ   	pHYs  
+  
+ÃN™n   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<z7Ï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 RˆCs¡CQP“PD“6çà I`·Á,yÏ÷|†ßíü¸Ÿ{ιœ+	!PK’ŠQà!`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¤R—t»}Ó 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  
+  
+ÃN™n   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-†úº(µ³ta/ßRa}‰ÅJ	ˆIaq$€EåGÐH"Ï\ï>ӝGté"¨XÕM•©oÑ´J˜m<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ölc‘RÒÛú~€°¡½åÖùˆíî7Øí6na÷¥pÄhâ`tKoyáx÷½BRE@ž Ûd.
-ß¡Z-;CËå–4]]Õjef³»]î•JŠFcÄ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  
+  
+ÃN™n   tEXtSoftware www.inkscape.org›î<   ‚IDAT8c­ùÏÎô÷'àç?fvv¦¿?¯9Îe§Ä ­ýÉ?™(1 ŒDGƒXÐV?Sg¸ÿ¯&)Ž¯12Wñ´ýµÃÁ7²x
+Òã{MØ P‰›füÏñ$Æþ
+CÃ Oñ{x
+Á_¬
+cƒX~þ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ìJŸH©üpÌ~#ùâ	ر/=‘û%÷¿tËDìJÈ
-àö äV€« ªT*N±¸ƒˆNñðP	*X
-Ñ>@’Éq ”RÞx šö$èz°¤éÜ b1aŒ`Ya/·,ƒxÜ ÑhR«9Ými9ï•ÏÏ»hò*§…„Ãþ,‘ØçýýÃË:«@4ª1MM«%Þ‰h"fší¬ßìõµJ&sÆôt€ùù)²ÙE î(•Þ (—«”ËUŸÈ·µ^Ö×ç89Ù`k딋‹ÇA¥þ­‚¶X¯;D£Ú7‡Š†n
-`yy¸¹yMôSþí}—ʃÖE£ód    IEND®B`‚
\ No newline at end of file
+IHDR         VÎŽW   sBIT|dˆ   	pHYs  
+  
+ÃN™n   tEXtSoftware www.inkscape.org›î<   ÎIDAT8c­ùÏÎô÷'àç?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