Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1560] can not scroll up or down (vertically) in a map inside a scrollView

GitHub Issuen/a
TypeBug
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterILAY SENER
AssigneeFeon Sua Xin Miao
Created2017-04-23T09:59:45.000+0000
Updated2017-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

FileDateSize
Screen Shot 2017-04-23 at 19.59.08.png2017-04-23T09:59:42.000+0000255945

Comments

No comments

JSON Source