Commit 187e09cc1b90f64926bdf53b3807a4940684ef3d

Authored by Edmar Moretti
1 parent dded8d46

--no commit message

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