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 interactive to other mz layer #27

Merged
merged 2 commits into from
May 22, 2017
Merged

Conversation

tallytalwar
Copy link
Member

Refer tangrams/bubble-wrap#249 for details.

Added interactive for the following mz sdk layers:
- `mz_default_line`
- `mz_default_polygon`
@tallytalwar tallytalwar requested a review from nvkelso May 22, 2017 18:47
@nvkelso
Copy link
Member

nvkelso commented May 22, 2017

@tallytalwar It looks like this was attempted before on

interactive: global.sdk_interactive
, but that's the wrong syntax for default draw: properties inside a style (introduced in TangramJS v0.12.0). Those interactive should also be removed.

Copy link
Member

@nvkelso nvkelso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tallytalwar
Copy link
Member Author

Ohh I am not adding default style properties here. I am explicitly adding interactive to specific draw groups in a layer. interactive is a draw rule parameter: https://mapzen.com/documentation/tangram/draw/#interactive

@tallytalwar
Copy link
Member Author

Will remove the ones we have in the styles though.

- `interactive` is not style params but draw rule style param
@nvkelso nvkelso merged commit c3899a7 into gh-pages May 22, 2017
@nvkelso nvkelso deleted the interactive-mz-default-layers branch May 22, 2017 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants