Live data from Hacker News

Mapbox-gl-js is no longer under the 3-Clause BSD license

github.com

51–60 of 200 posts

Re: Mapbox-gl-js is no longer under the 3-Clause BSD license

#51

Earlier quoted context omitted.

What other alternatives exist? I know now: * openlayers, but vector tiles have no web GL support there * Procedural GL JS * tangram * deck.gl (from Uber) * harp.gl (from HERE Maps)

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)

Re: Mapbox-gl-js is no longer under the 3-Clause BSD license

#53
post #49

Earlier quoted context omitted.

What other alternatives exist? I know now: * openlayers, but vector tiles have no web GL support there * Procedural GL JS * tangram * deck.gl (from Uber) * harp.gl (from HERE Maps)

https://cesium.com/cesiumjs/

Does it have vector tiles support?

Re: Mapbox-gl-js is no longer under the 3-Clause BSD license

#54
post #39

Earlier quoted context omitted.

Founder, Stadia Maps here. We're looking into this, as well as trying to build consensus with the other map vendors on how to approach it. If you're a vendor and what to be part of it, email me (luke at stadiamaps.com).

Glad to see this. I’m a long time mapbox gl js user for https://onthegomap.com which costs $300-400 per month for running my own graphhopper routing servers and Stadia Maps tile hosting. It would cost over $3000 per month to upgrade to 2.0 and I have no need for 3D. I also use mapbox gl js for visualizing large datasets locally (precomoute vector tiles from non-geographic datasets), which doesn’t seems like it needs…

I use your site all the time to measure running routes - Thanks for the great work!

Re: Mapbox-gl-js is no longer under the 3-Clause BSD license

#55

Earlier quoted context omitted.

Very very cool :) Three observations: - Why have a vertical limit when rotating in 3D? I have to click on 2D to look directly top-down. This would be the natural result if I simply tilted the camera all the way downward, but instead it maxes out at some arbitrary angle. (Same the other way, I want to look at the horizon, but I guess there are bandwidth issues involved.) - Scroll zoom is waaay to slow. I have a mouse…

The camera limits are just defaults, and can be overridden. Manipulating a camera in 3D can be counterintuitive, so the defaults try to keep things manageable at the expense of flexibility. As you say, the further you can see the higher the bandwidth bill. If you really want to see the horizon, make the window narrow :) For the other issues, could you please file a issue on the repo? This is not expected and works gr…

I've also noticed a minor issue, I don't have time at the moment to file a report on github.

I noticed on the demo that if I zoom all the way out, and then use my mouse wheel to zoom in quickly enough I can clip into the earth and see the black below. This does seem to depend on scroll speed being high enough.

Re: Mapbox-gl-js is no longer under the 3-Clause BSD license

#56

I guess we should expect to see a fork of the v1 codebase?

Founder, Stadia Maps here. We're looking into this, as well as trying to build consensus with the other map vendors on how to approach it. If you're a vendor and what to be part of it, email me (luke at stadiamaps.com).

Doesn’t deck.gl also use map box? What are they doing?

Re: Mapbox-gl-js is no longer under the 3-Clause BSD license

#58
post #18

Earlier quoted context omitted.

"Pay $5 per 1,000 page loads" closed source.

Up to 50,000 - Free https://www.mapbox.com/pricing/ A map load is counted every time Mapbox GL JS initializes on a webpage or in a web app. A map load includes unlimited Vector Tiles API and Raster Tiles API requests.

So, now we must be careful not to clear out such initializations? Not React friendly at all.

Re: Mapbox-gl-js is no longer under the 3-Clause BSD license

#59
post #32
post #18

Earlier quoted context omitted.

"Pay $5 per 1,000 page loads" closed source.

That doesn't answer the question. And has nothing to do with closed source, really.

yeah, posted notes/deets https://www.mapbox.com/blog/mapbox-gl-js-v2-3d-maps-camera-a... Developers need a Mapbox account and access token. v2 is available in the same way as v1 -- the project source code is available on Github at https://www.mapbox.com/blog/mapbox-gl-js-v2-3d-maps-camera-a... for open collaboration with the community. New features will be on v2.

Re: Mapbox-gl-js is no longer under the 3-Clause BSD license

#60
post #40

Mapbox has been extremely generous in releasing their rendering libraries under a permissive license. Creating a map renderer that matches the user experience of Google Maps is a FAANG-level effort, and Mapbox GL also encompasses: * A single style specification format that works well for both base map rendering and data overlays * Parity across native and web rendering * Smooth SDF text rendering with decent i18n sup…

Thank you! I'd also like to list some of the building blocks of GL JS that remain open source and are heavily used in other open source projects:

- GeoJSON-VT (fast GeoJSON processing) https://github.com/mapbox/geojson-vt

- Earcut (triangulating polygons) https://github.com/mapbox/earcut

- Supercluster (point clustering) https://github.com/mapbox/supercluster

- vt-pbf (converting GeoJSON tiles to VT) https://github.com/mapbox/vt-pbf

- vector-tile (decoding vector tiles) https://github.com/mapbox/vector-tile-js

- pbf (fast reading/writing of protobuf) https://github.com/mapbox/pbf

- TinySDF (generating SDF from local CJK fonts) https://github.com/mapbox/tiny-sdf

- Potpack (generating sprite layouts) https://github.com/mapbox/potpack

- grid-index (spatial index for collisions/querying) https://github.com/mapbox/grid-index

- Pixelmatch (image comparison in render tests) https://github.com/mapbox/pixelmatch

- Polylabel (fitting labels into polygons) https://github.com/mapbox/polylabel

Post reply on HN