Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to define object parameters via xml elements #27

Open
brentonhouse opened this issue Mar 29, 2016 · 0 comments
Open

Add ability to define object parameters via xml elements #27

brentonhouse opened this issue Mar 29, 2016 · 0 comments

Comments

@brentonhouse
Copy link
Contributor

See https://jira.appcelerator.org/browse/ALOY-1371 for more details

<Alloy>
  <Collection src="marker" />
  <Map module="ti.map"> 
     <Array parentProperty="annotations" dataCollection="marker">
        <Annotation module="ti.map" />
     </Array>
     <Object parentProperty="region" 
                  latitude="33.74511" 
                  longitude="-84.38993" 
                  latitudeDelta="0.01" 
                  longitudeDelta="0.01" />
  </Map>
</Alloy>
<Alloy>
  <Map module="ti.map">
    <Polygon module="ti.map" parentMethod="addPolygon" />
     <Array parentMethod="addAnnotations" dataCollection="marker">
        <Annotation module="ti.map" />
     </Array>
  </Map>
</Alloy>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant