Re:LeafletJS: a JavaScript library for interactive maps
by phsource on Tuesday August 17, 2021 @02:42AM
(#28206885)
It's not even just video games! Leaflet's great for real-world non-video games maps of the whole world. It's by far the easiest system to make any random old image zoomable and pinchable.
My brother and I created a map of our local Costco in Figma and just put it up at https://costcomap.com/
Re:LeafletJS: a JavaScript library for interactive maps
by varrock on Tuesday August 17, 2021 @01:39AM
(#28206563)
This got me wondering if my favorite game as a kid, RuneScape, also uses Leaflet on their world map for Old School RuneScape (the version I am more familiar with). It turns out they do. Cool!
Re:LeafletJS: a JavaScript library for interactive maps
by dante_dev on Tuesday August 17, 2021 @06:52AM
(#28208445)
Right, leaflet can be used also outside the map context. We used it to reimplement a "Pick Your Own Seat" component (originally implemented in flash), where the user picks its own seats while buying tickets!
Re:LeafletJS: a JavaScript library for interactive maps
by Cyberdog on Monday August 16, 2021 @10:18PM
(#28205380)
I'm a freelance web developer for https://gamerguides.com/ which also uses Leaflet for video game maps. It's a little weird to get working with at first but it turns out it's well suited for that sort of use case. I love it.
https://wiki.guildwars2.com/wiki/Kryta#Interactive_Map