[TIMOB-24852] Android: no touch doesn't work for maps module
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | ILAY SENER |
Assignee | Unknown |
Created | 2017-06-20T00:03:44.000+0000 |
Updated | 2018-02-28T19:55:46.000+0000 |
Description
When putting maps module inside a view, where it is not full screen, the 'touchenabled=false' option doesn't work. Map still scrolls horizontally.
index.js
var args = $.args;
index.xml
<Alloy>
<Window >
<ActionBar displayHomeAsUp="true" />
<Menu>
<MenuItem id="logout" />
<MenuItem id="menuSearch" />
</Menu>
<ScrollView layout="vertical" >
<View height="100" width="300"></View>
<View width="300" height="300" bubbleParent="false">
<Module id="mapview" method="createView" module="ti.map" platform="android, ios" width="300" height="300" touchenabled="false">
<Annotation id="appcHQ" />
</Module>
</View>
</ScrollView>
</Window>
</Alloy>
index.tss
'#mapview':{
mapType: Alloy.Globals.Map.NORMAL_TYPE,
region: {
latitude: -33.8588,
longitude: 151.2103,
latitudeDelta: 2,
longitudeDelta: 2,
zoom: 5,
tilt: 45
}
},
'#appcHQ': {
latitude: -33.852222,
longitude: 151.210556,
title: "ILAY's Harbour Bridge",
subtitle: "Sydney, NSW",
pincolor: Alloy.Globals.Map.ANNOTATION_RED
}
Hey Ilay, so
no touch doesn't work
means that all touches work? :)Haha, yes.