Hacker News new | ask | show | jobs
by KronisLV 1705 days ago
> This is one we built on openlayers using hybrid data sources, including a tiled background from OSM: https://map.fieldmuseum.org/

That's a really cool map and makes me hopeful for there eventually being more indoors maps! Also, the design itself seems simple, approachable and the illustrations make it more humane!

That said, the performance leaves something to be desired:

  - tested it on a desktop with Firefox (93) on a Ryzen 1200 and RX 570, got anywhere between 15-30 fps, usable but not smooth
  - tested it on a mobile Android budget phone (Ulefone Armor X7 Pro) with a Mediatek chip, got somewhere between 5-10 fps
  - seems like it's related to rendering the building, because panning away so it's offscreen improves the performance
  - this appears to be confirmed by also zooming out so less details are shown, in which case the performance improves
That's not probably an issue that actually needs addressing (newer hardware would perform better, the one mentioned performs passably), however there's definitely something to be said about how things will probably get better in this regard in the coming years (Mapbox alone has made plentiful advances) and how mixing different data sources or technologies may incur certain performance penalties until then, which may or may not actually be a concern, depending on the target audience.