4 ms·
I was quite surprised that this website seems to use a self-made map viewer. Maybe I'm just out of the loop, but it feels like by now everyone either just uses
by not_knuth 6y ago
I was quite surprised that this website seems to use a self-made map viewer. Maybe I'm just out of the loop, but it feels like by now everyone either just uses Google Maps and a minute, hardy fraction uses something based on OSM.
- rst 6y agoIt could be a custom rendering of OSM data... whatever it is has full street grids for land-locked villages in the middle of France, which I can't imagine them gathering on their own. And their requirements (particularly for the vessel overlays) are peculiar enough that having their own renderer seems pretty reasonable.
- RicoElectrico 6y agoClicking [i] in the bottom right corner reveals this is indeed based on OSM data. Kind of stupid design, as the [i] button is so big that a small always visible attribution could have fit better (just like on osm.org). This is seemingly one of default options in OpenLayers (my guess based on how often I see this type of attribution). I wonder why people choose OL anyway. Sites using it in my experience have on average jankier UX than those based on Leaflet.
- tyingq 6y agoIf you pull up a map through their embed functionality, you can see OpenLayers (https://openlayers.org/ https://openlayers.org/) and OSM is in there somewhere: https://www.vesselfinder.com/aismap?zoom=8&lat=36.00&lon=-5.40&width=100%&height=400&names=false&track=false&fleet=false&fleet_name=false&fleet_hide_old_positions=false&clicktoact=false&store_pos=true&ra=https%3A%2F%2Fwww.vesselfinder.com%2Fembed https://www.vesselfinder.com/aismap?zoom=8&lat=36.00&lon=-5....
- not_knuth 6y agoThanks! Good to know...
- Etheryte 6y agoThe increased pricing model Google Maps brought along a few years ago [1] makes it a lot less appealing for public-facing projects these days. It's still great for internal tools that have limited and predictable volume, but for anything public you'll both be building a cache layer yourself to reduce the costs as well as monitoring it closely. Something as simple as ending up on the HN frontpage could easily burn through your planned budget. Setting quotas only solves the problem so far since your service will still be unusable once you hit them. [1] https://cloud.google.com/maps-platform/pricing https://cloud.google.com/maps-platform/pricing
- kabes 6y agoNautical maps (available, but not the default on vesselfinder) are usually a bit special. There's custom standards like ENC s-52/63/57 etc. Typically with a huge amount of symbol layers etc. Which is just one of the many reasons they may have gone with a custom openlayers solution
- kevin_b_er 6y agoThat was before Google increased the price to 14x around 2018.