[ALOY-1560] can not scroll up or down (vertically) in a map inside a scrollView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | ILAY SENER |
Assignee | Feon Sua Xin Miao |
Created | 2017-04-23T09:59:45.000+0000 |
Updated | 2017-07-27T19:31:09.000+0000 |
Description
You can not scroll/move up or down on a map located inside a scrollview.
Please note, the contents of the view has to be long enough so that the view scrolls. Looks like scrollView takes over vertical scroll control over, hence can't scroll vertically inside the map
Please see the screen grabs.
*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" >
<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
},
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2017-04-23 at 19.59.08.png | 2017-04-23T09:59:42.000+0000 | 255945 |
No comments