Live data from Hacker News

Mapbox GL for the Web

mapbox.com

31–40 of 40 posts

Re: Mapbox GL for the Web

#31
post #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.

Yes, sorry of course! I've been running mapbox studio and have vector tiles running. Being able to style here and not in mapbox-studio is great.

What about support for mouseovers? Is that possible? Something we can expect soon?

Re: Mapbox GL for the Web

#32
Hands down the best team I've had the pleasure of meeting so far; these guys have a track record of building awesome stuff. Looking forward to use this on our next project.

Re: Mapbox GL for the Web

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

> Openstreetman community

Admittedly our gender balance could be a lot better, but I think that's a bit harsh.

Re: Mapbox GL for the Web

#34
> [...] it uses JavaScript and WebGL to dynamically draw data with the speed and smoothness of a video game.

Am I the only one who gets poor performance?

When I drag around the first map quickly, I get about 5 FPS, and the "chrome" process on my system jumps to 100% CPU usage (running Chrome 35.0.1916.153). The same with Firefox Nightly (33.0a1), although the FPS is higher here (10-15 FPS). My CPU is an eight-core AMD FX-8320.

Re: Mapbox GL for the Web

#35
post #3

This looks great, although on first glance seems that the new GL implementation is a new library, not an extension of Leaflet. I think that's a mistake — Leaflet is solid and is the foundation on which a lot of extensions are built, to the point where my impression is that it's pretty much the de facto JS-based map widget these days. While the new library looks decent, I don't see the point of creating a brand new li…

Leaflet creator here, worked on both libraries. It makes a lot of sense because this library is vastly different from usual slippy maps — fluid continuous zoom & rotation, extremely powerful visualization and interactivity potential, no DOM constraints — fitting it into the Leaflet API which was designed for simple image tile-based maps would be very limiting. On the other hand, Mapbox GL JS is a very complicated tec…

You've got me so excited for that plugin, any ETA?

Re: Mapbox GL for the Web

#36
post #19

wow, VERY impressive. What you can do with that!! I guess some of the old dusty GIS Enterprise Solutions, now _slowly_ have to start worrying about competition in such form (I know you can't compare it to a full Featured GIS, as a map is only a component of many many things that are required to be usefull). Current solutions are way behind and the moment when it comes to the presentation and manipulation of data (imh…

What is interesting with MapBox, is that they essentially offer functionality similar to Geoserver + Openlayers, but with a far more focused, nice, modern user experience.

Certainly in terms of government systems, I think companies sell to people who will never use the system. Procurement people who worry about getting locked in by Mapbox just like they were with ESRI. Government IT people who want to host everything locally. Sadly in that kind of a sale, user experience doesn't matter so much as it should.

Re: Mapbox GL for the Web

#37
post #34

> [...] it uses JavaScript and WebGL to dynamically draw data with the speed and smoothness of a video game. Am I the only one who gets poor performance? When I drag around the first map quickly, I get about 5 FPS, and the "chrome" process on my system jumps to 100% CPU usage (running Chrome 35.0.1916.153). The same with Firefox Nightly (33.0a1), although the FPS is higher here (10-15 FPS). My CPU is an eight-core AM…

This is the first time we're hearing performance in that magnitude, and it's definitely not the intended frame rate. It sounds like your system is switching to software OpenGL rendering, rather than running directly on your GPU. Could you please share more details about your system on Github? https://github.com/mapbox/mapbox-gl-js/issues/new

Re: Mapbox GL for the Web

#38
post #37
post #34

> [...] it uses JavaScript and WebGL to dynamically draw data with the speed and smoothness of a video game. Am I the only one who gets poor performance? When I drag around the first map quickly, I get about 5 FPS, and the "chrome" process on my system jumps to 100% CPU usage (running Chrome 35.0.1916.153). The same with Firefox Nightly (33.0a1), although the FPS is higher here (10-15 FPS). My CPU is an eight-core AM…

This is the first time we're hearing performance in that magnitude, and it's definitely not the intended frame rate. It sounds like your system is switching to software OpenGL rendering, rather than running directly on your GPU. Could you please share more details about your system on Github? https://github.com/mapbox/mapbox-gl-js/issues/new

I just updated my GPU drivers using the xorg-edgers PPA on Ubuntu 14.04 (https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa) and now it's a lot better. Dragging the map, there's a small delay before the map moves, but when it does it's smooth. I remembered that I was having problems with Google Maps, as well as other Web GL stuff, so I figure there was a bug in my drivers.

Re: Mapbox GL for the Web

#39
post #35
post #3

Earlier quoted context omitted.

Leaflet creator here, worked on both libraries. It makes a lot of sense because this library is vastly different from usual slippy maps — fluid continuous zoom & rotation, extremely powerful visualization and interactivity potential, no DOM constraints — fitting it into the Leaflet API which was designed for simple image tile-based maps would be very limiting. On the other hand, Mapbox GL JS is a very complicated tec…

You've got me so excited for that plugin, any ETA?

It's currently a bit hacky but works — I think I'll put out a basic demo in a few days and then build from there.

Re: Mapbox GL for the Web

#40
post #31
post #26

Earlier quoted context omitted.

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.

Yes, sorry of course! I've been running mapbox studio and have vector tiles running. Being able to style here and not in mapbox-studio is great. What about support for mouseovers? Is that possible? Something we can expect soon?

It's already possible, we just need to put out an example of how to do it. :)
Post reply on HN