Commit 187e09cc1b90f64926bdf53b3807a4940684ef3d

Authored by Edmar Moretti
1 parent dded8d46

--no commit message

classesjs/classe_interface.js
@@ -769,8 +769,18 @@ i3GEO.Interface = @@ -769,8 +769,18 @@ i3GEO.Interface =
769 if (!i3GEO.Interface.openlayers.parametrosMap.allOverlays) { 769 if (!i3GEO.Interface.openlayers.parametrosMap.allOverlays) {
770 i3GEO.Interface.openlayers.parametrosMap.allOverlays = false; 770 i3GEO.Interface.openlayers.parametrosMap.allOverlays = false;
771 } 771 }
  772 +
  773 + i3GEO.Interface.openlayers.parametrosMap.controls.push(new OpenLayers.Control.TouchNavigation({
  774 + dragPanOptions : {
  775 + interval : 100,
  776 + enableKinetic : true
  777 + }
  778 + }));
  779 + i3GEO.Interface.openlayers.parametrosMap.controls.push(new OpenLayers.Control.PinchZoom());
  780 +
772 if (i3GEO.Interface.TABLET === true) { 781 if (i3GEO.Interface.TABLET === true) {
773 i3GEO.Interface.openlayers.parametrosMap.theme = null; 782 i3GEO.Interface.openlayers.parametrosMap.theme = null;
  783 +
774 i3GEO.Interface.openlayers.parametrosMap.controls.push(new OpenLayers.Control.Attribution()); 784 i3GEO.Interface.openlayers.parametrosMap.controls.push(new OpenLayers.Control.Attribution());
775 i3GEO.Interface.openlayers.parametrosMap.controls.push(new OpenLayers.Control.TouchNavigation({ 785 i3GEO.Interface.openlayers.parametrosMap.controls.push(new OpenLayers.Control.TouchNavigation({
776 dragPanOptions : { 786 dragPanOptions : {
@@ -778,7 +788,9 @@ i3GEO.Interface = @@ -778,7 +788,9 @@ i3GEO.Interface =
778 enableKinetic : true 788 enableKinetic : true
779 } 789 }
780 })); 790 }));
  791 +
781 i3GEO.Interface.openlayers.parametrosMap.controls.push(new OpenLayers.Control.ZoomPanel()); 792 i3GEO.Interface.openlayers.parametrosMap.controls.push(new OpenLayers.Control.ZoomPanel());
  793 +
782 } else if (i3GEO.parametros.w > 700) { 794 } else if (i3GEO.parametros.w > 700) {
783 bb.INCLUIBOTAO.zoomli = true; 795 bb.INCLUIBOTAO.zoomli = true;
784 bb.INCLUIBOTAO.pan = true; 796 bb.INCLUIBOTAO.pan = true;
interface/dbug6.htm
@@ -228,7 +228,7 @@ @@ -228,7 +228,7 @@
228 i3GEO.Interface.openlayers.LAYERSADICIONAIS = [ eng, oce, ims, wsm, tms, 228 i3GEO.Interface.openlayers.LAYERSADICIONAIS = [ eng, oce, ims, wsm, tms,
229 bra ]; 229 bra ];
230 })(); 230 })();
231 - i3GEO.Interface.TABLET = true; 231 + //i3GEO.Interface.TABLET = true;
232 i3GEO.inicia(); 232 i3GEO.inicia();
233 </script> 233 </script>
234 </body> 234 </body>