以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 SVG/GML/VRML/X3D/XAML 』  (http://bbs.xml.org.cn/list.asp?boardid=21)
----  请问大家,该作者在设置viewBox的玄机  (http://bbs.xml.org.cn/dispbbs.asp?boardid=21&rootid=&id=15544)


--  作者:moonsky731
--  发布时间:3/14/2005 4:52:00 PM

--  请问大家,该作者在设置viewBox的玄机
 <svg id="mainMap" x="0" y="15" viewBox="270079 -4216440 22268.3 28183.2" width="553" height="700" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg" zoomAndPan="magnify">
  <!-- this group is necessary for manual panning, it temporarily gets a translate transformation which is later removed on mouseup -->
  <g id="mainMapGroup" transform="translate(0,0)">
      <rect x="244000" y="-4231000" width="64000" height="81000" fill="white" stroke="none" id="mapBackgroundRect"/>
   <!-- within this group you should place all map layers, usually, if you have more than one element in a map layer, you would use a group instead of a single element, as in this example -->
   <image id="ShadedRelief" x="244141" y="-4232236" width="64577" height="82335" xlink:href="relief.jpg"/>
  </g>
 </svg>
请问大家,该作者在设置viewBox="270079 -4216440 22268.3 28183.2" 的时候,为什么会设的这么大,我试过了,只有它这个比例才能刚好显示,不知道他是怎么算出来的,看了半天也不明白,请大家帮帮我吧!!!


[此贴子已经被作者于2005-3-17 10:59:35编辑过]

--  作者:SCYANGYU
--  发布时间:3/16/2005 11:59:00 AM

--  
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<?AdobeSVGViewer save="snapshot"?>
<svg width="100%" height="100%" viewBox="0 0 1024 768" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:attrib="http://www.carto.net/attrib" onload="init(evt);" zoomAndPan="disable">
 <script type="text/ecmascript" xlink:href="../resources/helper_functions.js"/>
 <script type="text/ecmascript" xlink:href="../resources/mapApp.js"/>
 <script type="text/ecmascript" xlink:href="../gui/slider/slider.js"/>
 <script type="text/ecmascript" xlink:href="checkbox.js"/>
 <script type="text/ecmascript" xlink:href="navigation.js"/>
 <script type="text/ecmascript"><![CDATA[
  var myMapApp = new mapApp();
  var myMainMap;
  var myRefMapDragger;
  var myZoomSlider;
  function init(evt) {
   //dynamic layer array that allow loading from database
   var dynamicLayers = new Array();
   //initialize digiLayers (layers that allow digitizing)
   var digiLayers = new Array();
   myMainMap = new map("mainMap",64000,640,0.6,0,"m",true,"coordX","coordY",dynamicLayers,digiLayers,"");
   //slider properties: x1,y1,value1,x2,y2,value2,startValue,group in which to build the slider,color of slider
   //width of slider of sliderbar,width of invisible slider bar,width of visible slider
   myZoomSlider = new slider(710,70,myMainMap.minWidth,710,170,myMainMap.maxWidth,myMainMap.maxWidth,"mapZoomSlider","dimgray",2,10,"sliderSymbol","myRefMapDragger.resizeDragger",true);
   //set constraints to draggable rect in reference map
   myRefMapDragger = new dragObj("dragRectForRefMap","referenceMap","myDragCross",4750,true,"coordX","coordY",myMainMap);
   loadProjectSpecific();
  }
  function loadProjectSpecific() {
   //adopt width and height of map extent
   document.getElementById("myScaleTextW").firstChild.nodeValue = formatNumberString(myMainMap.curWidth.toFixed(myMainMap.nrDecimals)) + myMainMap.units;
   document.getElementById("myScaleTextH").firstChild.nodeValue = formatNumberString(myMainMap.curHeight.toFixed(myMainMap.nrDecimals)) + myMainMap.units;
   //adopt line width of park boundary
   document.getElementById("park_boundary").setAttributeNS(null,"stroke-width",myMainMap.curWidth*0.005); 
  }
]]></script>
 <defs>
 <!-- section for CSS stylesheet definitions -->
 <!-- you may globally adjust your styles here -->
 <style type="text/css"><![CDATA[
 .allText {font-family:Arial;fill:dimgray;}
 .titleText {font-size:22;font-weight:bold;}
 .subTitleText {font-size:18;font-weight:bold;}
 .normalText {font-size:15;}
 .smallText {font-size:12;}
 .boldText {font-weight:bold;}
 .centerText {text-anchor:middle;}
 .dragRect {fill:lightskyblue;stroke:none;opacity:0.4;}
 .dragSymbol {stroke:darkblue;}
 .normalLinestyle {fill:none;stroke:dimgray;}
 .background {fill:aliceblue;stroke:none;}
 .darkRectstyle {fill:dimgray;stroke:none;}
 .nofill {fill:none;}
 .whitefill {fill:white;}
 .normalfillcol {fill:dimgray;}
 .normallinecol {stroke:dimgray;}
 .nostroke {stroke:none;}
 .verythinline {stroke-width:1;}
 .thinline {stroke-width:1.5;}
 .normalline {stroke-width:2;}
 .mediumThickLine {stroke-width:5;}
  ]]></style>
  <!-- Symbols for checkboxes -->
  <symbol id="checkBoxRect" overflow="visible">
   <rect x="-6" y="-6" width="12" height="12" class="whitefill normallinecol thinline"/>
  </symbol>
  <symbol id="checkBoxCross" overflow="visible" class="normallinecol nofill verythinline" pointer-events="none">
   <line x1="-5" y1="-5" x2="5" y2="5"/>
   <line x1="-5" y1="5" x2="5" y2="-5"/>
  </symbol>
  <!-- Symbols for Zoom Magnifyer glasses -->
  <symbol id="magnifyer" overflow="visible" class="whitefill normalline normallinecol">
   <line x1="0" y1="0" x2="-8" y2="20"/>
   <circle r="8"/>
  </symbol>
  <symbol id="magnifyerZoomOut" overflow="visible" class="whitefill normalline normallinecol">
   <use xlink:href="#magnifyer"/>
   <line x1="-4" y1="0" x2="4" y2="0" style="stroke:dimgray;stroke-width:2;"/>
  </symbol>
  <symbol id="magnifyerZoomIn" overflow="visible">
   <use xlink:href="#magnifyer"/>
   <line x1="-4" y1="0" x2="4" y2="0" class="whitefill normalline normallinecol"/>
   <line x1="0" y1="-4" x2="0" y2="4" class="whitefill normalline normallinecol"/>
  </symbol>
  <symbol id="magnifyerFull" overflow="visible">
   <use xlink:href="#magnifyer"/>
   <text y="4.5" class="allText smallText centerText boldText" pointer-events="none">F</text>
  </symbol>
  <symbol id="magnifyerManual" overflow="visible">
   <line x1="0" y1="0" x2="-8" y2="20" class="whitefill normalline normallinecol"/>
   <circle r="8" class="whitefill normalline normallinecol"/>
   <rect x="-3" y="-3" width="6" height="6" class="nofill thinline normallinecol" stroke-dasharray="1.5,1.5"/>
  </symbol>
  <symbol id="magnifyerZoomInWo" overflow="visible" class="whitefill normalline normallinecol">
   <circle r="8"/>
   <line x1="-4" y1="0" x2="4" y2="0"/>
   <line x1="0" y1="-4" x2="0" y2="4"/>
  </symbol>
  <symbol id="magnifyerZoomOutWo" overflow="visible" class="whitefill normalline normallinecol">
   <circle r="8"/>
   <line x1="-4" y1="0" x2="4" y2="0" style="stroke:dimgray;stroke-width:2;"/>
  </symbol>
  <!-- hand symbol for panning -->
  <symbol id="symbPan" overflow="visible">
   <circle r="9" class="normallinecol normalline whitefill"/>
   <path class="normallinecol verythinline nofill" d="M-2 6 C -2.2 2.5 -8.0 -0 -5.7 -1.9 C -4.3 -2.5 -3.3 -0.5 -2.5 0.7 C -3.2 -2.1 -5.5 -5.2 -3.6 -5.8 C -2.1 -6.3 -1.6 -3.6 -1.1 -1.9 C -0.9 -4.2 -1.6 -6.4 -0.2 -6.6 C 1.4 -6.8 0.9 -3 1.1 -1.9 C 1.5 -3.5 1.2 -6.1 2.5 -6.1 C 3.9 -6.1 3.5 -3.2 3.6 -1.6 C 4 -2.9 4.1 -4.3 5.3 -4.4 C 7.3 -3.5 4 2.2 3 6z"/>
  </symbol>
  <!-- Symbol for Pan Arrows -->
  <symbol id="symbArrow" overflow="visible" class="nofill verythinline normallinecol" pointer-events="none">
   <polyline points="-3,-5 3,-5 3,1 5,1 0,5 -5,1 -3,1 -3,-5"/>
  </symbol>
  <!-- Symbol for Recentering Map -->
  <symbol id="symbRecenter" overflow="visible">
   <circle r="9" class="normallinecol normalline whitefill"/>
   <circle class="normalfillcol nostroke" cx="0" cy="0" r="1" pointer-events="none"/>
   <g class="normallinecol thinline nofill" pointer-events="none">
    <line x1="-7" y1="-7" x2="-3" y2="-3"/>
    <line x1="7" y1="7" x2="3" y2="3"/>
    <line x1="-7" y1="7" x2="-3" y2="3"/>
    <line x1="7" y1="-7" x2="3" y2="-3"/>
   </g>
  </symbol>
  <!-- Symbol for Slider -->
  <symbol id="sliderSymbol" overflow="visible" class="nofill mediumThickLine normallinecol" pointer-events="none">
   <line x1="0" y1="-5" x2="0" y2="5"/>
  </symbol>
  <!-- Symbol for Dragging if zoomed in far -->
  <symbol id="myDragCrossSymbol" overflow="visible" stroke-width="2000" class="nofill dragSymbol" pointer-events="none">
   <line x1="-7000" y1="0" x2="-2500" y2="0"/>
   <line x1="7000" y1="0" x2="2500" y2="0"/>
   <line x1="0" y1="-3300" x2="0" y2="-7800"/>
   <line x1="0" y1="3300" x2="0" y2="7800"/>
  </symbol>
  <!-- Marker for Extent-Arrows -->
  <marker id="myStartArrow" overflow="visible" orient="auto">
   <polyline class="nostroke normalfillcol" points="-0.5,0 8,-2 8,2"/>
  </marker>
  <marker id="myEndArrow" overflow="visible" orient="auto">
   <polyline class="nostroke normalfillcol" points="0.5,0 -8,-2 -8,2"/>
  </marker>
 </defs>
 <rect x="-500" y="-500" width="3000" height="3000" stroke="none" class="background" />
 <!-- Main Map Frame -->
 <svg id="mainMap" x="0" y="15" viewBox="244000 -4231000 64000 81000" width="553" height="700">
  <!-- this group is necessary for manual panning, it temporarily gets a translate transformation which is later removed on mouseup -->
  <g id="mainMapGroup" transform="translate(0,0)">
   <!-- within this group you should place all map layers, usually, if you have more than one element in a map layer, you would use a group instead of a single element, as in this example -->
   <image id="ShadedRelief" x="244141" y="-4232236" width="64577" height="82335" xlink:href="relief.jpg" />
   <path id="park_boundary" pointer-events="none" style="stroke:darksalmon;fill:none;stroke-opacity:0.7" stroke-width="320" d="M247896.461 -4183130.294l17.194 -334.066l6.167 -120.785l14.177 -278.726l5.319 -104.592l44.198 -864.678l52.7 -739.224l-270.992 -29.742l-187.969 -5.764l-161.838 -12.631l-199.923 -15.582l-75.026 -5.86l2.002 -50.817l3.161 -85.663l58.116 -1555.334l-167.547 -3.597l18.419 -254.937l56.049 -779.116l14.521 -202.734l2.436 -33.363l9.417 -131.35l1039.737 16.032l85.205 3.499l26.169 -169.606l32.902 -213.946l386.975 17.061l102.359 -445.439l711.325 20.156l36.331 -579.095l52.264 -835.885l10.962 -151.521l715.218 0.553l267.971 1.364l615.723 1.12l25.875 -673.944l-2.515 -97.275l46.438 -1535.672l46.364 -1535.678l69.632 -786.594l35.205 -833.183l47.275 -1120.863l-969.013 -16.329l-255.778 -4.457l-593.303 -10.211l-870.204 -15.07l-870.297 -15.165l-838.17 -43.705l-726.687 -27.565l18.44 -1031.023l18.451 -1031.024l29.621 -1658.459l29.69 -1662.683l17.55 -980.734l17.562 -980.846l11.643 -653.53l13.16 -586.05l18.374 -1012.041l9.397 -515.513l27.608 -59.467l5.971 -130.127l69.742 -125.26l103.503 -128.102l125.649 -116.53l24.84 -126.32l10.16 -137.773l24.097 -85.35l103.093 -109.565l54.765 -121.839l34.935 -66.351l-24.464 -90.076l12.819 -81.812l46.38 -81.106l76.562 -87.726l46.349 -77.33l1.974 -100.7l12.996 -87.583l-181.972 -5.634l-6.315 -159.391l-67.563 -106.187l-84.679 -155.155l-80.087 -181.232l19.005 -133.833l37.596 -129.591l41.978 -151.896l47.139 -196.507l10.727 -107.872l6.588 -212.539l44.711 -118.262l141.368 -111.934l27.697 -51.467l41.509 -137.025l93.322 -124.423l131.849 -108.567l-3.301 106.658l63.175 -67.7l110.374 -156.004l18.504 -92.523l-6.693 -116.077l-49.534 -69.187l-118.339 -63.651l-19.565 -26.601l-123.158 -115.128l-106.379 -174.378l-115.311 -129.886l-174.157 -34.396l-8.261 -93.464l4.741 -152.829l72.746 -180.937l105.848 -168.913l132.841 -197.962l276.466 -205.625l71.405 -72.889l20.737 -19.91l161.206 -155.542l139.86 -147.317l56.88 -35.236l5.234 -10.17l112.335 -223.491l120.274 -219.026l135.185 -218.456l50.404 -147.308l-46.575 -147.524l-60.774 -65.977l-67.465 8.47l-39.42 41.886l-171.754 20.244l-120.23 -72.151l-78.779 -182.407l-8.408 -168.344l48.012 -83.945l73.66 -75.376l126.492 -88.074l100.301 -62.111l220.093 -320.37l91.488 -246.356l222.94 -367.947l236.412 -232.893l236.712 -143.238l160.623 -8.276l50.578 -248.067l190.549 -204.88l153.787 -217.678l198.505 -215.752l416.022 -542.802l133.749 -181.089l-3.272 -205.507l94.104 -22.223l475.05 -331.284l146.283 -120.948l244.799 -161.6l137.188 -76.463l104.687 -6.915l158.849 36.505l142.266 -12.772l226.331 -69.092l130.894 -106.55l68.902 -45.672l130.523 -2.14l132.544 -54.182l191.362 -126.493l100.484 4.051l160.014 6.633l99.514 30.235l239.391 -19.961l92.285 22.569l45.953 65.378l11.722 82.56l-5.431 141.695l-3.723 96.867l21.354 124.065l65.084 51.293l71.3 -11.951l108.682 -14.265l101.112 -10.718l16.512 46.267l-4.361 25.196l-4.346 111.845l33.236 105.871l72.545 51.514l104.149 8.033l267.974 11.086l46.221 -39.153l65.433 -53.237l44.209 12.997l43.435 59.074l28.152 18.511l48.514 -1.649l118.032 -62.319l24.172 -47.595l85.093 -175.62l96.872 -166.826l0.322 -0.864l23.042 -24.83l40.421 -20.277l28.103 -16.618l1.655 0.452l0.141 -0.138l7.839 -3.763l113 -55.922l98.782 -67.792l56.12 -9.533l103.756 17.891l127.287 -26.06l71.81 -35.058l53.69 -54.376l102.86 47.742l125.698 29.763l159.763 12.119l87.189 -53.264l115.563 -4.094l156.958 108.783l115.662 118.876l80.144 61.937l39.938 38.407l63.24 1.889l57.565 -57.933l183.929 76.141l114.901 18.203l132.85 -89.126l163.337 -110.659l165.466 -58.5l100.87 -11.882l121.911 33.287l91.842 43.721l157.431 -36.421l98.977 -75.261l152.401 -118.442l128.043 -52.074l88.956 13.747l121.03 33.359l160.882 -8.006l111.923 -2.905l131.548 -28.319l96.243 -78.242l155.157 -60.949l124.092 -28.656l106.339 -51.732l55.54 9.749l86.13 85.632l61.123 58.567l71.203 88.855l44.629 1.761l86.803 -26.321l95.93 -70.929l138.009 -98.905l204.844 -189.691l160.101 -187.791l148.455 -177.028l60.101 -109.646l8.529 -122.937l93.17 -97.123l129.285 -65.738l131.823 -35.673l110.915 -73.945l74.665 -97.892l72.861 -150.153l99.469 -66.952l122.433 -80.943l92.935 -89.695l36.788 -84.454l8.695 -33.18l-34.169 -79.867l-15.28 -86.534l8.626 -126.711l34.658 -125.615l71.293 -109.102l150.813 -139.655l132.932 -65.535l200.177 -66.57l125.873 -73.411l66.577 -83.253l113.927 -55.101l107.699 -85.275l64.372 -104.091l86.447 -39.688l71.999 -49.774l89.413 -12.056l186.618 -38.662l63.031 1.946l89.088 -0.961l53.386 -46.543l49.619 -46.764l226.557 -256.778l64.215 -38.899l46.04 -50.536l46.258 -58.083l39.129 -69.398l25.283 -103.234l27.76 -58.62l90.91 -64.007l93.602 -26.83l157.485 -54.525l168.74 -61.533l168.828 -61.645l198.987 -79.214l210.502 -86.217l149.27 -28.787l143.514 -84.716l94.552 -60.14l113.26 -67.043l78.241 -8.74l151.978 4.826l151.444 23.357l91.573 40.069l166.793 5.244l130.143 -10.697l66.833 -26.958l27.072 -10.996l173.313 -87.435l176.885 -83.67l132.358 -85.062l52.309 -13.161l82.449 -27.182l81.592 2.672l119.202 -14.912l74.463 -8.753l101.258 -37.754l86.85 -49.275l71.523 -34.83l129.089 -100.052l49.883 -54.222l96.931 -15.446l63.014 1.911l55.457 5.471l48.095 5.261l101.231 -33.987l123.933 -51.89l132.946 -103.506l53.874 -65.219l26.568 -18.125l90.173 -33.974l145.337 -21.408l96.312 2.964l88.524 17.736l96.908 -11.794l126.547 -14.618l81.904 -8.558l55.666 -1.973l71.601 -34.954l74.453 -8.771l103.125 25.585l55.454 5.461l70.772 -8.878l66.871 -128.058l160.332 -358.994l-4.802 169.471l180.707 -422.286l-13.923 -41.047l-7.257 -3.871l-29.063 -26.703l1.137 -55.615l1.117 -51.839l12.023 -40.534l-13.572 -59.586l-24.28 -74.773l-66.381 -12.655l-16.466 -59.557l2.629 -92.782l33.021 -51.157l30.953 -58.658l22.733 -25.458l60.482 -57.821l56.911 -61.81l93.677 -53.328l81.852 -16.677l145.347 -44.76l136.748 14.306l71.94 -72.496l16.17 -66.408l12.574 -66.399l12.819 -81.275l-13.71 -48.592l32.546 -140.141l35.632 -106.622l105.337 -75.442l131.185 -74.825l247.293 -131.42l314.57 -166.853l232.587 -139.18l308.261 -211.589l69.013 -109.687l35.073 -84.428l210.044 -355.416l8.555 10.681l134.792 -73.413l116.325 -71.489l109.199 -86.352l60.864 -72.823l119.874 -63.841l74.135 -2.035l62.025 42.276l29.078 22.916l84.932 13.149l41.48 -28.718l92.858 -16.398l114.663 6.424l80.379 53.78l86.435 113.259l86.983 87.394l92.259 187.502l61.589 64.471l60.714 105.319l60.512 112.643l46.563 75.268l39.767 45.424l57.929 60.701l15.651 133.828l-16.67 88.613l-46.819 110.209l-60.872 76.386l-85.836 31.374l-60.09 35.645l23.215 126.598l38.347 112.248l34.671 112.034l78.687 127.92l-2.957 140.863l-27.579 77.202l-13.094 92.377l28.422 56.325l50.492 60.494l65.065 75.671l29.269 189.852l37.182 163.971l-2.185 103.788l39.754 219.798l414.323 20.727l192.133 19.435l110.617 21.059l144.244 13.326l54.902 28.398l60.446 116.405l38.612 97.363l20.868 63.552l24.873 48.78l36.87 8.239l78.061 -12.946l126.299 -19.388l107.364 2.522l100.336 -16.11l107.804 -19.793l151.581 14.622l195.286 45.368l91.591 46.616l59.029 12.51l163.6 -33.259l71.032 -31.699l107.886 -19.69l121.651 25.113l76.563 57.414l45.997 97.446l-11.095 174.067l-91.649 127.65l-49.716 72.936l-50.372 106.349l-18.527 42.251l-8.422 19.205l7.018 175.453l14.006 211.63l20.024 104.396l43.382 49.172l110.539 24.805l74.605 -24.163l13.898 -4.616l27.182 -9.25l22.803 -25.474l60.326 -50.434l78.301 -27.839l48.748 -24.874l84.589 24.31l32.659 34.103l34.265 -43.709l48.34 -10.004l69.981 16.466l61.88 49.674l103.81 -4.933l104.029 -16.146l229.957 -18.48l11.252 -0.914l7.386 -0.687l55.386 4.956l96.131 9.622l10.852 10.514l12.989 12.572l23.33 22.516l76.596 53.735l105.389 91.504l153.922 77.72l100.347 154.446l96.136 9.615l99.199 35.686l209.001 97.645l118.329 6.437l184.519 30.335l62.31 31.123l42.983 67.804l17.038 67.1l35.823 60.168l88.486 16.949l92.586 -1.599l133.762 -19.143l99.934 2.374l99.721 13.473l180.231 56.187l96.681 -20.042l42.327 -73.156l3.53 -163.053l65.243 -109.742l20.472 -92.183l-1.089 -118.754l-37.957 -130.634l-11.995 -133.82l3.018 -140.855l-4.545 -133.619l14.562 -159.091l-24.393 -70.961l-24.59 -63.637l-5.996 -66.91l19.22 -32.91l0.626 -29.637l-39.942 -34.287l-28.907 -30.435l-29.313 -15.453l-6.109 -59.472l0.626 -29.637l-6.933 -22.511l-14.499 -15.163l198.838 -117.679l42.743 -95.357l4.92 -55.509l5.235 -70.383l20.271 -84.858l1.976 -92.572l31.487 -84.555l139.066 -96.864l96.837 -23.707l47.5 27.048l23.213 56.157l78.835 51.994l0.157 0.671l39.864 56.606l21.211 52.438l119.404 17.546l74.546 12.782l55.565 27.263l50.985 60.569l4.579 126.288l-43.95 117.762l-36.928 140.274l-36.117 106.867l-24.485 88.522l5.201 96.652l16.922 78.309l40.071 49.169l106.162 102.702l91.379 94.862l54.151 86.64l210.409 127.157l85.167 39.049l50.998 60.565l31.206 108.455l18.474 171.084l-2.763 122.536l26.025 167.621l-2.238 96.451l-39.073 73.361l-8.771 55.517l16.831 82.081l12.666 96.74l-6.021 100.125l-34.061 177.448l6.32 52.145l32.35 56.287l59.779 5.047l142.201 3.147l286.765 62.214l99.373 72.738l52.339 1.178l105.05 -4.964l78.455 5.43l121.212 99.305l62.029 71.957l192.73 82.22l122.739 32.483l164.549 7.496l172.324 38.352l-60.314 126.888l-44.645 151.182l-20.882 92.288l-2.948 64.557l-0.873 26.186l-5.237 48.393l2.708 30.058l11.903 17.531l-5.909 27.496l-9.195 52.063l-1.944 59.808l-5.425 52.164l-58.188 73.192l-47.727 92.128l-70.296 102.743l-33.311 107.504l22.051 123.973l82.366 99.593l165.915 49.509l142.875 71.326l133.869 119.727l170.47 251.522l52.856 91.249l63.981 95.32l67.963 84.208l39.794 34.706l18.587 0.604l48.6 -6.151l316.718 -163.631l26.849 19.924l-88.766 210.655l-66.892 110.283l-281.539 186.549l-201.677 248.633l-22.551 231.177l21.296 146.495l56.542 207.29l155.7 135.179l179.134 102.258l180.982 42.554l170.617 19.731l123.836 -26.598l54.121 -61.982l74.932 -128.843l114.148 -75.278l84.419 -76.176l123.934 -33.932l87.824 47.406l41.46 98.378l22.003 124.074l0.444 19.78l0.117 5.556l0.902 42.336l1.471 70.67l15.12 108.9l13.134 37.772l37.924 109.501l64.889 65.456l61.675 -65.674l79.782 -50.094l199.837 -76.587l140.573 -85.813l44.997 -125.864l-36.539 -135.67l-50.781 -154.703l-38.581 -188.032l5.763 -175.649l62.622 -95.415l60.569 -144.222l72.88 -65.161l147.451 -91.299l34.778 -128.021l40.332 -18.819l118.417 -55.194l130.046 -197.485l4.774 -14.756l35.843 -112.002l48.849 -129.541l64.132 -140.246l83.961 -177.152l47.112 -73.505l53.417 -39.579l73.868 17.039l76.017 65.625l36.827 128.232l45.535 87.259l74.007 129.204l101.298 88.938l54.998 255.751l89.55 223.115l118.508 18.309l143.4 56.382l152.004 19.29l85.969 -12.529l67.371 -9.35l17.445 4.008l18.181 -7.411l65.997 -27.377l187.689 -47.087l138.236 -14.839l151.82 22.936l437.78 161.95l141.629 -3.547l149.449 97.71l100.487 2.823l11.049 0.286l82.809 -2.411l135.151 -55.029l155.036 -74.174l142.658 191.028l66.518 16.82l53.497 72.564l95.016 283.077l246.859 306.199l222.33 148.312l134.38 -11.203l255.738 36.998l73.166 267.621l142.542 310.599l156.451 -115.257l92.585 13.81l108.435 -15.657l14.758 71.449l2.878 -112.42l124.519 62.265l45.169 289.329l247.997 265.528l198.586 -9.144l64.321 -119.957l83.708 -37.065l183.219 1.339l144.66 130.058l168.587 90.131l18.18 213.453l188.442 258.98l155.998 126.782l144.879 25.554l121.7 -53.769l5.342 -141.45l117.282 -35.449l118.379 35.536l138.524 -101.432l183.145 198.966l153.986 81.959l71.853 275.768l336.091 609.133l132.965 241.323l231.603 305.767l-54.155 247.269l119.184 210.766l148.885 119.12l296.995 -41.734l246.675 4.299l51.95 207.624l105.098 90.803l155.482 238.641l-4.63 223.639l17.588 325.246l66.036 480.698l27.863 202.576l85.713 108.523l119.766 95.27l147.541 55.652l161.601 -22.175l28.582 135.631l182.456 120.699l153.687 -7.5l111.872 106.054l60.368 185.611l-23.135 315.898l-145.93 298.853l-95.926 163.179l-66.018 164.7l123.071 9.615l144.167 44.228l103.754 23.566l71.652 85.507l-21.453 170.584l129.949 125.486l20.745 243.477l0.053 96.942l54.661 136.94l119.55 102.571l46.212 162.602l-243.792 316.421l-81.023 163.998l-36.048 263.054l-22.816 207.75l73.689 227.246l63.582 100.073l-15.045 100.009l-110.179 244.557l-48.515 195.341l-15.308 99.891l-14.336 92.586l-15.048 100.009l-66.811 86.286l-51.166 68.353l58.998 122.169l-4.634 122.92l-87.459 135.631l-149.823 240.57l-66.44 198.225l-48.878 198.661l-93.345 219.763l-191.893 295.039l-91.145 130.981l-57.675 198.44l14.525 122.509l93.575 124.478l182.518 82.273l59 101.406l-39.275 165.587l-190.537 239.552l-161.707 140.328l-46.686 109.879l-114.265 352.489l-190.017 217.346l-18.678 43.951l16.351 77.472l30.822 145.791l164.152 115.136l190.513 115.789l32.771 29.021l122.053 108.084l68.995 57.127l58.188 134.698l-6.071 244.142l-31.049 188l11.778 233.481l36.485 300.721l23.327 122.726l66.711 146.012l111.201 124.908l93.906 113.373l85.121 113.154l57.109 179.083l48.599 167.767l17.301 11.533l199.647 104.883l269.956 106.617l210.453 27.41l199.935 93.769l190.056 137.936l164.013 481.514l17.304 11.53l16.758 33.725l128.556 136.412l85.979 79.843l144.05 225.51l120.052 125.093l159.299 -40.505l255.708 -27.04l228.795 -5.499l147.79 70.24l162.387 192.737l332.197 85.84l208.788 93.923l110.212 169.243l147.268 92.417l71.401 -42.677l70.05 12.808l189.335 171.16l-15.532 277.217l-49.617 231.973l-50.068 254.058l-15.805 288.313l-49.083 209.778l5.284 144.477l145.146 181.187l130.801 47.591l193.961 -17.501l211.953 35.007l232.905 41.726l155.15 59.493l153.166 32.46l51.859 9.136l25.642 31.043l17.584 0.425l17.584 0.425l122.821 14.068l87.653 13.218l43.961 1.06l35.168 0.848l70.692 -9.399l44.228 -10.038l123.624 -19.229l105.772 -8.557l52.218 23.464l69.803 23.886l35.702 -21.349l18.918 -55.063l9.859 -44.177l106.837 -52.949l69.802 23.884l148.663 36.881l243.514 116.877l120.962 91.727l94.853 79.996l121.498 69.53l95.388 57.8l130.559 58.639l112.711 69.314l33.845 56.326l59.693 79.149l50.372 101.133l76.487 112.86l7.204 66.792l15.998 67.002l25.85 22.823l69.903 23.874l51.7 45.646l33.057 89.615l33.057 89.615l50.909 78.937l68.761 68.258l43.967 1.047l166.547 26.17l79.933 -31.409l53.816 -43.134l44.231 -10.052l26.116 11.724l123.107 2.924l88.46 -20.106l53.026 -9.956l53.286 -20.942l43.966 1.043l25.854 22.82l15.745 78.097l33.595 67.416l17.324 11.514l17.324 11.514l7.741 44.597l-1.578 66.582l-74.296 164.788l-0.789 33.291l-20.745 132.748l34.124 45.222l60.506 45.847l69.038 57.152l33.862 56.318l47.247 234.288l8.269 22.402l25.858 22.819l25.858 22.819l52.242 23.443l44.498 -21.154l35.441 -10.265l52.505 12.345l51.193 67.83l43.799 12.139l69.832 23.857l78.365 35.161l69.833 23.855l51.197 67.828l39.784 178.59l14.186 144.676l-10.104 55.278l-54.866 87.531l-104.233 -57.976l-87.428 -24.271l-52.771 -1.247l-151.092 63.048l-96.223 -24.482l-0.525 22.194l-153.723 174.014l-17.854 10.681l-9.321 21.986l-63.145 65.124l-47.133 132.123l-74.837 186.982l-119.346 208.133l-60.246 120.707l-87.602 175.574l-75.113 198.076l-39.665 187.814l-3.951 166.455l37.667 267.261l10.485 300.037l2.742 255.44l14.174 144.678l59.481 90.237l14.439 133.581l-1.842 77.679l-19.702 88.359l-21.827 55.443l-34.386 87.566l-160.483 85.018l-72.498 87.105l-20.233 110.552l-39.589 187.815l-28.77 99.246l6.164 111.179l41.625 100.918l68.552 79.35l61.334 12.559l131.468 25.325l121.617 69.502l121.881 58.404l97.585 -30.999l80.51 -53.611l35.986 -32.458l71.184 -31.626l123.194 2.912l114.919 -19.491l176.776 -29.136l70.396 1.661l294.478 206.798l-0.261 11.097l25.354 45.01l86.953 46.46l51.754 45.63l25.355 45.009l-18.383 32.877l-17.861 10.683l-141.845 41.073l-193.862 6.535l-167.724 18.251l-152.221 107.439l-45.311 54.446l-117.025 108.267l-98.116 53.197l-8.832 75.626l-11.145 95.224l-2.084 17.383l16.883 45.7l82.431 223.123l28.65 278.255l73.97 223.81l48.879 167.701l-110.337 197.251l-79.738 20.212l-134.389 96.752l-141.619 29.96l-160.013 62.832l-115.479 41.678l-89.599 64.496l-73.049 109.3l-119.958 230.322l-130.085 285.596l-0.263 11.097l-10.12 55.276l-1.054 44.388l103.53 91.282l146.584 136.714l95.784 46.683l112.341 91.486l85.145 124.15l112.083 102.58l138.235 114.3l113.924 24.898l79.234 1.871l42.971 45.427l5.399 144.468l-10.638 77.471l42.449 67.621l68.077 101.534l14.991 111.384l15.253 100.287l67.557 123.727l103.825 80.168l-3.661 155.356l-32.69 265.703l-20.746 132.637l-54.924 87.53l-28.509 88.152l-10.375 66.374l-21.535 166.038l-28.249 77.055l-55.452 109.723l-45.862 76.64l-71.233 31.629l-96.866 -2.286l-61.642 -1.456l-292.96 93.004l-17.35 -11.513l-8.806 -0.208l-79.255 -1.875l-115.53 41.678l-224.889 194.528l-155.5 240.582l-57.579 198.49l-84.793 231.154l-82.689 142.378l-47.199 132.117l-38.129 121.229l-18.406 32.872l-9.335 21.984l-36.285 43.551l-26.95 21.566l-62.445 31.825l-61.39 -12.563l-132.644 19.051l-124.101 30.356l-70.462 -1.678l-61.654 -1.469l-62.183 20.725l-124.897 63.642l-63.508 76.208l-19.999 99.452l-0.794 33.291l-1.324 55.484l-63.775 87.304l-70.466 -1.682l-141.462 18.828l-115.568 41.651l-79.54 9.202l-105.965 8.569l-89.411 53.377l-45.105 43.333l-36.031 32.447l-108.892 130.631l-116.64 86.031l-107.568 75.144l-80.877 64.68l-91.019 119.952l-73.048 109.279l-29.625 132.528l-28.027 65.947l-56.588 154.087l-36.838 65.735l-75.01 186.954l-18.153 21.77l-25.572 40.69l-56.918 90.567l-45.651 65.522l-9.344 21.982l-27.498 43.752l-18.688 43.964l-18.154 21.77l-36.042 32.443l-9.878 44.176l-0.499 20.751l-33.356 16.074l-37.428 -5.231l-26.164 -11.733l-61.672 -1.485l-26.431 -0.636l-35.508 10.248l-26.431 -0.637l-44.586 21.132l-71.018 20.495l-18.423 32.866l-44.855 32.229l-46.728 109.907l-20.297 110.544l-1.338 55.484l16.551 44.813l25.094 56.122l23.49 122.703l16.017 67.006l7.741 44.6l-10.149 55.272l-0.267 11.097l-0.669 27.742l0.219 5.557l4.982 144.464l8.276 22.406l16.823 33.605l-10.416 66.369l-28.842 99.235l-27.237 32.653l-18.158 21.769l-64.625 120.579l-36.05 32.441l-80.377 42.474l-14.099 -0.34l-56.396 -1.361l-107.618 75.125l-108.156 97.318l-15.341 25.5l-30.597 51.113l-1.877 77.678l-27.241 32.652l-106.284 19.637l-97.204 8.752l-61.955 9.604l-80.117 31.371l-106.286 19.633l-44.331 10.029l-53.143 9.816l-26.437 -0.641l-98.013 42.038l-18.344 32.865l33.366 78.533l-0.269 11.097l8.274 22.407l8.544 11.311l51.531 56.766l25.631 33.931l8.544 11.31l42.719 56.552l21.608 14.403l13.106 8.645l43.795 12.164l43.258 34.358l18.283 53.406l39.378 114.541l57.217 190.031l88.132 2.132l166.915 26.242l58.208 145.75l22.152 178.189l12.535 211.266l-12.298 144.047l42.73 56.549l7.411 7.174l87.401 83.941l6.837 9.048l35.895 47.5l8.279 22.406l-55.949 268.239l-72.799 345l-56.281 183.068l-71.604 229.442l-77.473 216.642l-92.6 251.141l-90.361 198.453l-114.928 221.953l-63.011 103.18l-46.659 54.388l-160.271 119.478l-135.558 93.315l-170.306 67.266l-133.267 38.627l-191.364 55.09l-158.601 24.571l-160.408 22.636l-101.641 51.156l-94.471 86.305l-109.212 101.046l-255.46 439.688l-227.005 436.823l-149.27 313.248l-118.915 237.041l-106.571 139.741l-142.898 206.916l-25.473 92.535l-13.39 103.601l-27.032 152.567l-17.312 119.605l-24.864 204.584l-23.129 173.315l-24.233 146.306l-24.761 167.834l-54.423 153.672l-95.789 166.871l-100.693 118.339l-135.493 122.814l-174.112 110.205l-159.916 106.998l-225.477 138.249l-157.147 72.971l-165.356 112.295l-169.24 126.409l-217.655 142.199l-143.91 108.262l-140.078 131.672l-143.048 123.046l-15.873 13.598l-86.179 107.906l-142.254 144.159l-115.834 121.605l-80.941 109.921l-76.537 142.341l-71.349 118.152l-55.849 133.859l-59.299 162.531l-46.307 176.178l-57.5 200.217l-56.047 209.136l-65.236 152.39l-109.079 168.4l-77.331 144.982l-88.528 94.403l-116.154 97.38l-191.059 112.392l-170.057 87.928l-195.507 113.273l-148.962 59.688l-178.568 42.846l-162.251 61.238l-186.918 55.177l-172.944 29.54l-162.055 49.574l-53.92 -8.568l-128.547 -40.087l-243.113 -105.812l-141.831 -73.627l-203.869 -78.743l-179.342 -98.784l-163.088 -81.279l-128.695 -33.778l-155.365 1.302l-138.263 -43.019l-196.545 -84.912l-125.002 267.447l-93.558 218.05l-123.384 272.815l-134.706 199.907l-172.899 187.278l-249.669 542.991l-49.258 221.832l-196.104 543.567l-65.512 259.727l-27.566 309.882l-189.701 1385.525l-156.068 1329.635l-210.265 1078.857l-241.792 693.962l-99.207 588.212l-163.398 487.639l-204.473 426.739l-155.838 227.991l-205.62 186.41l-360.156 137.372l-324.999 44.872l-315.28 -99.801l-359.355 -149.361l-357.916 -125.799l-286.53 -82.445l-370.457 24.978l-343.102 132.826l-335.33 282.924l-293.244 299.105l-246.771 272.43l-247.2 366.578l-161.055 286.973l-1546.234 -48.342l-252.698 -7.954l-1293.535 -40.788l-993.451 -12.49l-993.456 -12.609l-1445.532 -32.487l-200.322 -15.696l-356.641 -10.236l-32.579 27.665l-64.108 114.993l-59.573 41.598l-95.322 45.634l-81.829 20.676l-251.302 -14.424l-154.301 -27.032l-124.838 11.85l-160.295 8.337l-55.576 -11.716l-250.737 -123.708l-131.133 -36.637l-67.251 -47.572l-59.328 -62.572l-47.631 -24.165l-94.144 5.115l-68.141 -14.615l-43.213 -1.17l-75.124 53.825l-35.663 4.142l-69.761 -52.753l-52.806 -19.2l-152.28 -6.683l-141.428 -31.823l-101.88 9.895l-143.861 54.507l-178.147 7.929l-141.557 67.224l-68.854 8.343l-49.543 49.403l-84.835 33.339l-66.428 13.405l-101.47 -5.319l-83.223 -22.591l-57.05 -54.862l-52.664 -24.314l-35.386 -6.074l-59.176 26.371l-44.807 57.192l-38.969 34.474l-162.935 10.877l-95.12 40.602l-130.809 136.132l-35.666 4.133l-108.241 -35.944l-209.381 -56.594l-106.737 -0.369l-210.071 65.429l-50.726 27.594l-26.073 928.156l-15.253 1340.357l-15.318 1340.13l-3.356 183.816l-0.223 159.913l-0.268 168.019l-0.007 22.877l-0.17 90.172l-0.028 36.536l-49.826 0.301l-51.683 0.249l-219.2 3.873l-425.027 7.208l-58.532 -4.941l-0.047 -107.726l-1282.02 -34.68l-1282.024 -34.878l-958.751 -10.607l-278.656 -9.45l-297.209 -4.204l-180.839 -4.397l-888.555 -21.381l-649.172 -15.723l-239.293 -5.862l-555.799 -16.371l13.746 -326.357l11.881 -282.318l-157.784 -393.297l-371.967 -75.29l-22.812 -736.664l-425.26 -16.74l3.845 -238.012l1.264 -88.038l0.915 -1314.196l-402.777 -23.68l-41.323 -1312.52l-234.761 -5.028l-377.421 -8.111l29.545 -1120.475l-197.239 -14.192l-30.341 -5.866l-18.323 3.696l-18.827 -0.317l-108.344 -2.546l8.822 -144.467l13.233 -221.309l-1214.56 -138.485l15.82 -946.063l3.057 -186.062l12.68 -759.894l21.104 -1159.72l274.382 6.009l419.88 9.068l19.588 -1039.14l19.515 -1039.366l22.678 -1207.544l7.775 -415.06l5.255 -284.294l-41.132 -1.404l-723.819 -26.393l26.911 -795.366l742.667 19.829l-20.657 -280.153l55.256 1.589l26.127 0.751l0.708 -33.855l7.72 -406.843l4.938 -107.261l-71.949 -1.513l-1162.121 -25.17l-1162.127 -25.333l28.674 -525.088l29.001 -533.298l23.226 -428.726l3.263 -60.661l5.102 -127.028l40.745 -1.038l180.577 -4.866l463.153 -12.565l106.508 -2.914l16.834 -364.934l25.908 -553.269l-4.558 -190.285l-179.212 10.47l9.502 -391.915l-907.928 -18.251l-907.84 -18.459l-1330.269 -43.501l-176.98 0.578l-523.345 1.602l-18.538 -1022.657l-2.664 -146.364l-9.732 -1012.181l5.357 -76.928l1.618 -24.944l1.838 -74.366l2.509 -103.115l2.97 -121.762l3.641 -147.512l3.644 -147.623l5.356 -217.661l18 -733.456l3.975 -146.836l38.798 -1423.734l4.127 -151.941l-172.532 -5.645l-914.571 -30.594l-511.945 -17.179l30.313 -926.042l14.309 -309.593l35.081 -955.671l34.908 -955.677l-4.528 -159.42l-170.955 -5.968l-588.169 -45.605l-847.445 2.256l-36.315 -0.975l-1168.347 -40.016l-442.071 -22.624l-634.724 0.423l-1048.906 -11.276l-39.776 -0.317l-608.729 -54.239l-999.194 -91.291l57.065 -1237.415l15.708 -150.597l2.174 -184.002l31.028 -583.363l13.922 -262.626l-118.236 -6.719l-272.031 -15.751l-443 -25.547z"/>
  </g>
 </svg>
 <!-- this group holds navigation, title and if you like, legend information -->
 <g>
  <!-- your map title -->
  <text class="allText titleText" x="580" y="30">Map Title</text>
  <!-- coordinate display -->
  <g class="allText normalText">
   <text id="coordX" x="730" y="145">X:</text>
   <text id="coordY" x="830" y="145">Y:</text>
  </g>
  <!-- display width and height of map extent -->
  <g>
   <!-- vertical line, displays current height of map extent -->
   <line class="normalLinestyle" style="stroke-width:1.5;marker-start:url(#myStartArrow);marker-end:url(#myEndArrow);" x1="561" y1="15" x2="561" y2="715"/>
   <rect class="background" x="555" y="330" width="12" height="70"/>
   <text id="myScaleTextH" class="allText normalText centerText" transform="translate(556,365),rotate(90)">81,000 m</text>
   <!-- horizontal line, displays current width of map extent -->
   <line class="normalLinestyle" style="stroke-width:1.5;marker-start:url(#myStartArrow);marker-end:url(#myEndArrow);" x1="0" y1="723" x2="553.1" y2="723"/>
   <rect class="background" x="242" y="717" width="70" height="12"/>
   <text id="myScaleTextW" class="allText normalText centerText" transform="translate(277,728)">64,000 m</text>
   <!-- small rectangle in lower right corner, onclick displays current map extent in real world coordinates -->
   <rect class="darkRectstyle" x="558.5" y="720.5" width="5" height="5" onclick="showExtent()" />
  </g>
  <!-- control map layer visibility with checkBoxes -->
  <g transform="translate(590 225)">
   <text class="allText subTitleText" x="-10" y="0">Map Layer Controls</text>
   <!-- first checkbox -->
   <g transform="translate(0 20)">
    <use id="checkBoxpark_boundary" xlink:href="#checkBoxRect" onclick="checkBoxScript(evt,'park_boundary');"/>
    <use id="checkCrosspark_boundary" xlink:href="#checkBoxCross" visibility="visible"/>
   </g>
   <!-- second checkbox -->
   <g transform="translate(200 20)">
    <use id="checkBoxShadedRelief" xlink:href="#checkBoxRect" onclick="checkBoxScript(evt,'ShadedRelief');"/>
    <use id="checkCrossShadedRelief" xlink:href="#checkBoxCross" visibility="visible"/>
   </g>
   <!-- checkbox text labels -->
   <g class="allText normalText">
    <text x="12" y="26">Park Boundary</text>
    <text x="212" y="26">Shaded Relief</text>
   </g>
  </g>
  <!-- map impressum and status Bar -->
  <g text-rendering="optimizeLegibility">
   <!-- text with this id is required to show help texts -->
   <text id="statusText" class="allText smallText" x="730" y="125">Statusbar: Your Status Text</text>
   <text class="allText smallText" x="1" y="760">Map Author: Your Name, 2004</text>
   <text class="allText smallText" x="510" y="760">Source: Your datasources</text>
  </g>
 </g>
 <!-- small reference map, shares the same coordinate system than the main map -->
 <svg id="referenceMap" x="580" y="45" viewBox="244000 -4231000 64000 81000" width="118.52" height="150" onmousedown="myRefMapDragger.drag(evt)" onmousemove="myRefMapDragger.drag(evt)" onmouseup="myRefMapDragger.drag(evt)" onmouseout="myRefMapDragger.drag(evt)">
  <image id="ShadedRelief" x="244141" y="-4232236" width="64577" height="82335" xlink:href="relief_small.jpg" />
  <path pointer-events="none" style="fill:none;stroke:salmon;stroke-width:1000" d="M250528.8 -4218899.3l2380.5 -1305.3l1593.4 928.3l1326.1 -752.7l4218.1 -70.2l4072.3 -3965.5l5552.8 -1556.9l313 -1368.6l3042.8 -2535.6l1098.2 945.4l124.7 2135.2l2579.4 431.2l-22.8 1238l3516.2 779.5l-66.6 -1725.9l1001.7 -419l625.5 2735.2l1659.5 476.6l-330.2 1248.2l1330.8 747.9l-583.6 1341.1l1261.8 -103.1l285.3 729.8l1411.9 -2540.5l552.1 995.2l2360 129.9l1432.7 1622l2981.7 1123.5l2940.7 4333.1l-270.6 1128.2l792.4 1201.5l-1726.7 5827.8l785 2018.2l2160 2274.1l2083.2 772.6l-29.7 1587l2579.8 273.2l2903.1 2611.6l-1211.6 1736.7l-304 2424.3l1806.8 664.5l-952.3 432.8l228.8 1126.8l-1164.6 1204.8l1028.8 823.8l134.5 1768.4l-3601.7 2856.7l-1067.8 2250.5l-1294 1012.3l939.2 1643.7l-426.7 1493.5l-1730.1 1237.5l-1330.5 3254.3l-3443.5 3823l-1377.3 499.3l-1732.6 -647.3l-2658.4 9242.1l-2580.3 -63.8l-1626.7 1640.8l-11817 92.4l-111.4 4297.6l-745.7 11.6l-6670.9 -270.2l-1972.9 -5940.7l-1565.6 -523.5l821.7 -7022.1l-765 -27.8l26.9 -795.4l742.7 19.8l74.1 -825.8l-2396.2 -52l748.7 -3186.1l-3846.4 -78l60.9 -5551.1l-1599 -53.4l110.1 -3306.4l-6584.6 -269.6l-573.6 -4908.1l-895.7 -69.6l-3.4 -3096.9l2384.7 -772.2l99.6 -1566.5l1598.9 3l268.3 -6583.2l-5123.5 -132.5l183.9 -10111.9l1168.6 -4214.1l-716.7 -975.6l1461.4 -2002.8l-593.4 -565.8l2659.9 -3238.9z" />
  <!-- rectangle that represents map extent -->
  <rect id="dragRectForRefMap" class="dragRect" x="244000" y="-4231000" width="64000" height="81000" pointer-events="none"/>
  <!-- if zoomed in very far, we display a cross-symbol here to indicate the map position in the reference map -->
  <use id="myDragCross" x="260000" y="-4190000" xlink:href="#myDragCrossSymbol" visibility="hidden" />
 </svg>
 <!-- this group holds symbol instances for navigation tools -->
 <g>
  <!-- empty group where zoomSlider is later appended -->
  <g id="mapZoomSlider"/>
  <text class="allText subTitleText" x="735" y="55">Map Navigator</text>
  <!-- button for zoom-in, above slider -->
  <use x="710" y="55" xlink:href="#magnifyerZoomInWo" onclick="zoomIt(evt,'in');" onmouseover="magnify(evt,1.2,'in');" onmouseout="magnify(evt,1,'in');"/>
  <!-- button for zoom-out, below slider -->
  <use x="710" y="185" xlink:href="#magnifyerZoomOutWo" onclick="zoomIt(evt,'out');" onmouseover="magnify(evt,1.2,'out');" onmouseout="magnify(evt,1,'out');"/>
  <!-- button for full view (f) -->
  <use x="740" y="85" xlink:href="#magnifyerFull" onclick="zoomIt(evt,'full');" onmouseover="magnify(evt,1.2,'full');" onmouseout="magnify(evt,1,'full');"/>
  <!-- button for manual zoom (rectangle) -->
  <use x="770" y="85" xlink:href="#magnifyerManual" onclick="myMainMap.zoomManual(evt)" onmouseover="magnify(evt,1.2,'manual');" onmouseout="magnify(evt,1,'manual');"/>
  <!-- button for manual pan -->
  <use x="800" y="85" xlink:href="#symbPan" onclick="myMainMap.panManual(evt)" onmouseover="magnify(evt,1.2,'panmanual');" onmouseout="magnify(evt,1,'panmanual');"/>
  <!-- button for redefining map center -->
  <use xlink:href="#symbRecenter" x="830" y="85" onmouseover="magnify(evt,1.2,'recenter')" onmouseout="magnify(evt,1,'recenter')" onclick="myMainMap.recenter(evt)"/>
 </g>
</svg>


--  作者:SCYANGYU
--  发布时间:3/16/2005 12:02:00 PM

--  
我研究了一下,好象没有什么特别的意思!
--  作者:行云流水
--  发布时间:3/17/2005 3:42:00 PM

--  
以下是引用SCYANGYU在2005-3-16 12:02:21的发言:
我研究了一下,好象没有什么特别的意思!


虽然做出的图本身没什么意义,但viewbox还是有很大学问的,主要与窗口缩放尺寸有关。

It is often desirable to specify that a given set of graphics stretch to fit a particular container element. The viewBox attribute provides this capability.


--  作者:行云流水
--  发布时间:3/17/2005 3:44:00 PM

--  
具体可以查一下svg1.1手册的:
7 Coordinate Systems, Transformations and Units
------7.7 The viewBox attribute

--  作者:henrybenben
--  发布时间:4/13/2005 11:03:00 PM

--  
viewbox有点奥妙,正在研究中
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
156.250ms