12.07.2015 Views

Etude exploratoire XML / SVG IDL_CERTU1/ETU_001 / 1.1 - Lara

Etude exploratoire XML / SVG IDL_CERTU1/ETU_001 / 1.1 - Lara

Etude exploratoire XML / SVG IDL_CERTU1/ETU_001 / 1.1 - Lara

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Edité le 11 juin 2002 Annexes de l'étude CERTUvar guideorX=0;var guideorY=0;function DoOnMouseDown(evt) {var guide = document.svgMiniMap.get<strong>SVG</strong>Document().getElementById("guide");press=1;pointeX = parseInt(evt.getClientX());pointeY = parseInt(evt.getClientY());guideorX = parseInt(guide.getAttribute("x"));guideorY = parseInt (guide.getAttribute("y"));}function DoOnMouseMove(evt) {var guide = document.svgMiniMap.get<strong>SVG</strong>Document().getElementById("guide");if (press==1) {pointeXnew=parseInt(evt.getClientX());pointeYnew=parseInt(evt.getClientY());decalX=pointeXnew-pointeX;decalY=pointeYnew-pointeY;guideorX=decalX+ guideorX;guideorY=decalY+ guideorY;guide.setAttribute("x",guideorX);guide.setAttribute("y",guideorY);pointeX=parseInt(pointeXnew);pointeY=parseInt(pointeYnew);}}function DoOnMouseUp(evt) {var docelem = document.svgMap.get<strong>SVG</strong>Document().getDocumentElement();press=0;docelem.currentTranslate.x = eval((3000-guideorX/200*8400)/4*docelem.currentScale);docelem.currentTranslate.y = eval((1200-guideorY/150*6300)/4*docelem.currentScale);}function DoOnMouseOut(evt) {press=0;}3.4 SEMIOLOGIE DU P.O.S. (MAPSTYLE.CSS).NB {fill:rgb(215,200,10)}.ND {fill:rgb(50,160,45)}.INA {fill:rgb(250,175,165)}.IINA {fill:rgb(250,175,165)}.UD {fill:rgb(255,190,120)}.UA {fill:rgb(166,0,0)}.UI {fill:rgb(130,25,135)}.UY {fill:rgb(130,25,135)}.ZI {fill:rgb(130,25,135)}.UC {fill:rgb(255,125,40)}.UB {fill:rgb(255,25,0)}.NC {fill:rgb(155,210,85)}.NBa {fill:rgb(215,200,10)}SWORD - Nos réf. : <strong>IDL</strong>_<strong>CERTU1</strong>/<strong>ETU</strong>_002 / 1.0 Diffusion : contrôlée Page : 14/48

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!