Commit 187e09cc1b90f64926bdf53b3807a4940684ef3d
1 parent
dded8d46
Exists in
master
and in
7 other branches
--no commit message
Showing
2 changed files
with
13 additions
and
1 deletions
Show diff stats
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