Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

Eliminate the syntactic distinction between "paint" and "layout" properties #635

Closed
lucaswoj opened this issue Dec 23, 2016 · 3 comments
Closed

Comments

@lucaswoj
Copy link

The differences between "paint", "layout", and "top-level" properties are becoming increasingly nuanced. Without a firm knowledge of our implementation, it can be hard to reason about the behaviour of paint properties vs layout properties, especially in the context of data-driven styling. It is worth considering eliminating the syntactic distinction between "paint" and "layout" properties (as Studio does), instead providing documentation about the behaviour of each property.

@nickidlugash
Copy link
Contributor

This sounds good generally, but just want to flag that it may make the definition of a ref sound more convoluted.

@lucaswoj
Copy link
Author

lucaswoj commented Jan 25, 2017

@nickidlugash We're getting rid of refs too 😄 As of now, ref is a no-op in GL JS.

@lucaswoj
Copy link
Author

lucaswoj commented Feb 1, 2017

This issue was moved to mapbox/mapbox-gl-js#4160

@lucaswoj lucaswoj closed this as completed Feb 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants