Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1558] Annotation doesn't work on Alloy

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2017-04-19T15:53:02.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterILAY SENER
AssigneeFeon Sua Xin Miao
Created2017-04-19T03:00:37.000+0000
Updated2018-03-07T22:28:25.000+0000

Description

Unable to display the annotation when using Alloy to display a location on Android emulator as per the documentation examples at http://docs.appcelerator.com/platform/latest/#!/api/Modules.Map . Even applying the Annotation parameters inside the tags doesn't fix this. *index.xml* *index.js* *index.tss* "#mapview": { region: { latitude: 33.74511, longitude: -84.3899, latitudeDelta: 0.01, longitudeDelta: 0.01, regionFit:true, } }, "#appcHQ": { latitude: 37.390749, longitude: -122.081651, title: "Appcelerator Headquarters", subtitle: "Mountain View, CA", pincolor: Alloy.Globals.Map.ANNOTATION_RED } However, if tag is used, instead of , seems to work fine. *index.xml* *index.tss* "#mapView": { region: { latitude: -33.8688, longitude: 151.2093, latitudeDelta: 0.01, longitudeDelta: 0.01 } }, '#sydneyOH':{ latitude: -33.852222, longitude: 151.210556, title: "ILAY's Harbour Bridge", subtitle: "Sydney, NSW", pincolor: Alloy.Globals.Map.ANNOTATION_RED }, Seems like the documentation also needs to be updated.

Comments

  1. Feon Sua Xin Miao 2017-04-19

    [~isener] looks like the documentation needs updating, could you please open a TIDOC ticket. Thanks!
  2. ILAY SENER 2017-04-19

  3. Eric Merriman 2018-03-07

    Closing as invalid. If this is incorrect, please reopen.

JSON Source