News for hackers. Stuff that matters.
Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by Waterluvian on Tuesday December 08, 2020 @01:15PM (#25349211)
Openlayers has some prototype webgl support that's a bit promising. I enjoyed working with it (but hate working with buggy webgl in general).

Leaflet is also great.

If you're doing any sort of front end GIS I recommend openlayers above all else including mapbox.

But I suspect 99% of users just need basic maps. Leaflet is great for that.

Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by karussell on Tuesday December 08, 2020 @01:24PM (#25349336)
Openlayers has web GL support but not for vector tiles and I would like to have fast vector tiles :)

They removed this support in some previous version, I think.

Or do you have a link to a pull request or issue?

(IMO Leaflet is dead now that the creator is working since several years for Mapbox)

Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by mourner on Tuesday December 08, 2020 @02:27PM (#25350113)
7+ years to be exact. It's unfair to call Leaflet dead — it's still quite actively maintained, gets regular releases and has a huge community of both users and contributors, and Mapbox have always been supportive of me spending time on it during work hours.

What someone can see as less development activity is simply a sign of a mature product that doesn't need many new features and changes to remain useful — focusing on the core basic mapping needs has always been its goal, and it continues to adhere to it.

Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by karussell on Tuesday December 08, 2020 @02:35PM (#25350225)
Thanks for replying and all your amazing work :) !

What I see or meant as a sign of "dead" is that there will be no new features that Mapbox GL JS has but that are critical for future applications. Like proper or inbuilt vector tiles support.

Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by Widdershin on Tuesday December 08, 2020 @08:18PM (#25354110)
Reading this comment makes me a bit sad because I wrote a really good incremental tile based renderer for leaflet that could easily be adapted for vector tiles.

Unfortunately that whole business unit got canned and the code is now gathering dust somewhere :/ would have loved to open source that one

Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by webmaven on Tuesday December 08, 2020 @10:20PM (#25354955)
> Unfortunately that whole business unit got canned and the code is now gathering dust somewhere :/ would have loved to open source that one

I'd encourage you to reach out and ask for permission to release it. In the past I've found that the sticking point was usually copyright assignment rather than the release per-se (with a side helping of worry over hidden IP violations), so get them to release a tarball under a permissive license like MIT/BSD, even if your intention is to immediately fork it.

Basically, if you can manage to do the work for them so they can just rubber stamp the release, you can probably get it done.

Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by trynewideas on Tuesday December 08, 2020 @05:18PM (#25352187)
> Like proper or inbuilt vector tiles support

I thought one of the primary features of Leaflet was its modularity. Would built-in vector tile support be an anti-pattern?

Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by bdon on Tuesday December 08, 2020 @01:53PM (#25349749)
I suspect Leaflet's current install base is many times that of any alternative - it's certainly not dead, and I'd argue its simplicity makes it ideal for most basic mapping applications.
Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by modeless on Tuesday December 08, 2020 @01:48PM (#25349668)
I work on WebGL in Chrome and WebKit and am interested to hear what problems you've experienced with WebGL.
Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by Waterluvian on Tuesday December 08, 2020 @06:13PM (#25352874)
I'm probably being very unfair given I'm new to it.

I've perpetually run into memory leaks and Max gpu issues whenever I try to use WebGL stuff in Openlayers depending on which browser I use.

Something will work fine in Chrome but max out my laptop's discrete card in Firefox until my laptop thermal throttles.

If you want a concrete example of this I would be happy to put together a reproducible example for you.

Re:Mapbox-gl-js is no longer under the 3-Clause BSD license by modeless on Tuesday December 08, 2020 @06:26PM (#25353005)
That would be great. There are a practically infinite number of things we could improve, and without feedback we won't end up working on the ones that matter to people.