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

Commit

Permalink
Merge pull request #112 from mapbox/interactive-opt-in
Browse files Browse the repository at this point in the history
Add 'interactive' attribute to layers to opt-in to interaction
  • Loading branch information
yhahn committed Jul 19, 2014
2 parents d86fa70 + 049c6b5 commit 5dcc914
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions reference/v4.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@
"type": "number",
"doc": "The maximum zoom level on which the layer gets parsed and appears on."
},
"interactive": {
"type": "boolean",
"doc": "Enable querying of feature data from this layer for interactivity.",
"default": false
},
"render": {
"type": "render",
"doc": "Symbolizer type that should be used to visualize this layer. If unspecified or null, this layer is not treated as a symbolizer and only exists to have properties inherited to other layers using ref."
Expand Down

0 comments on commit 5dcc914

Please sign in to comment.