Live data from Hacker News

Mapbox GL for the Web

mapbox.com

21–30 of 40 posts

Re: Mapbox GL for the Web

#21
post #8
post #6

Awesome work, but you're missing OpenStreetMap attribution since you're using OSM data

Valid point, will add an attribution control shortly.

Considering Mapbox's history of slight misunderstandings with the Openstreetman community, I would have thought that the touchy subject of attribution would have been dealt with more carefully...

Re: Mapbox GL for the Web

#22
Vladimir amazing work!

Just this mean, we can style a raw vector map from mapbox without applying styles? I'm not able currently style maps with a huge number of point on vector mapbox due to the tile processing limit. I am able to host the vector file though. Being able to directly style raw vector files on the client really opens the doors to a realm of possibilities.

Re: Mapbox GL for the Web

#23
post #21
post #8

Earlier quoted context omitted.

Valid point, will add an attribution control shortly.

Considering Mapbox's history of slight misunderstandings with the Openstreetman community, I would have thought that the touchy subject of attribution would have been dealt with more carefully...

Out of total curiosity, can you expand on these "slight misunderstandings"?

Re: Mapbox GL for the Web

#25
post #21
post #8

Earlier quoted context omitted.

Valid point, will add an attribution control shortly.

Considering Mapbox's history of slight misunderstandings with the Openstreetman community, I would have thought that the touchy subject of attribution would have been dealt with more carefully...

Sorry, we focused so much on the underlying tech challenges and getting this out in the open as fast as possible that we slipped some presentation details. Fixing today.

Re: Mapbox GL for the Web

#26
post #22

Vladimir amazing work! Just this mean, we can style a raw vector map from mapbox without applying styles? I'm not able currently style maps with a huge number of point on vector mapbox due to the tile processing limit. I am able to host the vector file though. Being able to directly style raw vector files on the client really opens the doors to a realm of possibilities.

Yes, upcoming Mapbox Studio release will allow you to author vector tiles for GL (with custom data), which you can fully style on the client in turn.

Note that Mapbox GL is a collaborative effort of a big talented team — a lot of people worked on this, I'm only a minor part.

Re: Mapbox GL for the Web

#27
post #24

Is the server library for producing the protobuf data from PostgreSQL/PostGis/Osm open source ? This is this lib ? https://github.com/mapbox/vector-tile-spec Using this spec ? https://github.com/mapbox/vector-tile-spec

The whole backend stack is open source — check out https://github.com/mapbox/?query=vector (all things vector data) and https://github.com/mapbox/?query=fontnik (powers font processing for GL)

Re: Mapbox GL for the Web

#28

I'd love to hear a bit more about how you handle thick lines and anti-aliasing in WebGL. Currently my approach is to make the line a little thicker and then apply the anti-aliasing in the frag shader. Similar to GPU Gems "Fast Prefiltered Lines." But it gets tricky with end caps, round joins, etc.

We did a blog post on it: https://www.mapbox.com/blog/drawing-antialiased-lines/

Have you tried Subpixel Morphological AntiAliasing? Is it useful for 2D stuff?

Re: Mapbox GL for the Web

#29
post #21

Earlier quoted context omitted.

Considering Mapbox's history of slight misunderstandings with the Openstreetman community, I would have thought that the touchy subject of attribution would have been dealt with more carefully...

Out of total curiosity, can you expand on these "slight misunderstandings"?

Mapbox is now a major actor in the Openstreetmap community - its contributions are considerable in quality and quantity. As a result, there is a lingering fear of Openstreetmap sliding toward dependency from Mapbox. In this context, there have been a some flaming about the flexible way Mapbox interpreted the attribution requirement on its maps - Mapbox fixed that but it left some contributors edgy about it. Then there have been requests by Mapbox, notably at the last SOTM-US, for a license change to drop the share-alike requirement - that too has ruffled feathers. So while I believe the relationship with the rest of the Openstreetmap community will work out fine, Mapbox needs to work on not being perceived as arrogant.

Re: Mapbox GL for the Web

#30
post #25
post #21

Earlier quoted context omitted.

Considering Mapbox's history of slight misunderstandings with the Openstreetman community, I would have thought that the touchy subject of attribution would have been dealt with more carefully...

Sorry, we focused so much on the underlying tech challenges and getting this out in the open as fast as possible that we slipped some presentation details. Fixing today.

Thanks for taking that into account - and don't apologize for your priorities : had you not had published such a technically excellent product, no one would have bothered complaining...
Post reply on HN