Steve Bennett
Steve Bennett
Ah, I'm guessing it has something to do with the maybe strange way I manipulate the map style to add styles and layers, using [map-gl-utils](https://github.com/stevage/map-gl-utils), which calls `map.setStyle()` rather than...
>@andrewharvey > in case it helps anyone the workaround I'm using at the moment is below. It constructs a new Style object retaining the sources and layers you want copied...
It seems to - the preserved layers stay visible on the map, they don't even flicker or disappear.
Ah, in my particular case I have hacked the two style sheets to use the same spritesheet, using [mbsprite](https://github.com/stevage/mbsprite)
That's a great point, thanks - updated the code. (Since I suspect people come here from Google and use that code...)
Agree that being able to use feature-state for icon-image would be handy. It has come up for me in the past - using feature state on hover to highlight an...
> A stubborn, related question is whether feature state is the best model to support interactive updates to layout. With a lot of work there may be ways to support...
@rowanwins Probably obvious, but an easy workaround is a separate layer from the same source.
Interesting idea. I think for me personally, inline geojson in a Mapbox-GL style is not something I would want to use for this kind of use case. I'd rather have...
Sounds great. Couple of quick comments: - Some users have a lot of repos (I have >100). Listing them all could be problematic. - Sounds like you're not supporting the...