Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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)


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.


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.


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


> 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.


> 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?


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.


I work on WebGL in Chrome and WebKit and am interested to hear what problems you've experienced with WebGL.


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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: