map-gl-utils icon indicating copy to clipboard operation
map-gl-utils copied to clipboard

Mapbox GL JS v3 Support

Open jparish3 opened this issue 2 years ago • 4 comments

A quick test of the beta release indicates some breaking changes. Will an update to map-gl-utils be required?

jparish3 avatar Aug 10 '23 15:08 jparish3

Can you elaborate? What have you seen?

The main thing I notice is that map.getStyle() returns a very different structure with no layers. I'm still trying to work out how it behaves now, since there doesn't seem to be documentation yet,

stevage avatar Aug 10 '23 23:08 stevage

I have an app that uses many of the utils (map.U.addVector, map.U.addGeoJSON, etc) with styling and dynamic updates. When I installed V3, much of the existing functionality no longer works. I will need to check it out systematically, but thought I would check in with you first. I understand that it is a beta release without docs, so maybe a thorough test is premature.

jparish3 avatar Aug 17 '23 13:08 jparish3

Yeah, I'll keep exploring, but will probably wait for a non-beta release with documentation.

stevage avatar Aug 18 '23 01:08 stevage

will you be adding the properties from this example?...*-emisive-strength in particular

jparish3 avatar May 19 '24 21:05 jparish3