Steve Bennett
Steve Bennett
Hmm, as a bit of a hacky workaround, you can do this: ```js { id:'mysource', type: 'image', url: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=', coordinates: [[0,1],[1,1],[1,0],[0,0],], }
I'm running into this again. Specifically: a state where `map.isStyleLoaded()` returns false, and yet the `styledata` event never fires. Sample log (edited output from Chrome console): ``` // at this...
Interesting. There is this example "[Disable map rotation](https://www.mapbox.com/mapbox-gl-js/example/disable-rotation/)" which purports to just disable rotation, but actually also disables pitch, which I wouldn't have expected. Although, in that light, now that...
Great write-up. Just copying in my proposed design from my very similar issue: ``` "line-color": ["case", ["variable", "dark-mode"], "dark-green", "green"] map.setVariable("dark-mode", true) ``` I think it would make more sense...
I have no idea about implementing - I've never even looked at the mapbox-gl-js internals, much less done any coding.
>`map.off('click', 'foo', alert);` Yeah, I know you can do this, but actually managing the handler can be tricky, particularly if it's constructed by some other function. I can't think of...
It's currently basically impossible to have conversations on PRs because every conversation is completely flooded with this:  At the very least, runs of consecutive identical deployments should be automatically...
Thanks, this looks awesome! > blind-wrote a test for it as well based on some of the other tests, but I couldn't get the tests to run using any combination...
Interesting. Man it is really hard getting all this stuff to play nicely together. Also, to be honest, I don't think I have the headspace to sort out someone else's...
I'd be happy to accept a pull request.