Leaflet is an amazingly powerful tool. As others have mentioned, it makes it easy to use a variety of sources for the underlying map tiles; in my case I was able to replace the modern-day base map with a map of the Roman Empire for an interactive academic publication[1]. Another great feature that doesn't get as much attention is Leaflet's ability to handle non-geographic images. In the same publication I'm also usin…
Museum tech roll call! I picked up leaflet for the same purpose and it's worked great - http://collections.artsmia.org/art/1218/olive-trees-vincent-... The Rijksmuseum "Rijksstudio" site has been around for a few years and adopted leaflet very early on for image viewing: https://www.rijksmuseum.nl/en/rijksstudio/artists/rembrandt-... Perhaps of interest to this sub-thread is "IIIF" (the international image interopera…
Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
41–50 of 78 posts
Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#42Earlier quoted context omitted.
Oh that is a really good tip! Good one. Do you have a demo?
Here's a screencast of a side project that used that technique. The top artists are bound to quadkeys and are loaded via the ontileload event via a websocket. Going to get back into some map work in the next few months and might write out a blog post about this technique. https://drive.google.com/file/d/0BwPUV--rEjyiVDc4UXBzUnhhMDA...
Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#43Anybody using Mapbox GL JS? Basically Leaflet with WebGL and some other useful tricks.
Yeah I'd love to know about people using it as well. Certainly the features would be really useful.
Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#44Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#45Leaflet is an amazingly powerful tool. As others have mentioned, it makes it easy to use a variety of sources for the underlying map tiles; in my case I was able to replace the modern-day base map with a map of the Roman Empire for an interactive academic publication[1]. Another great feature that doesn't get as much attention is Leaflet's ability to handle non-geographic images. In the same publication I'm also usin…
Museum tech roll call! I picked up leaflet for the same purpose and it's worked great - http://collections.artsmia.org/art/1218/olive-trees-vincent-... The Rijksmuseum "Rijksstudio" site has been around for a few years and adopted leaflet very early on for image viewing: https://www.rijksmuseum.nl/en/rijksstudio/artists/rembrandt-... Perhaps of interest to this sub-thread is "IIIF" (the international image interopera…
RE: IIIF, we're interested in going in that direction as well. Fortunately it looks like someone already wrote a plugin for it: https://github.com/mejackreed/Leaflet-IIIF
PS - Hey Kjell! This is Eric from the Getty. It's nice to see there are other museum folks on HN!
Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#46Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#47Am I the only one not getting retina tiles? On an iPhone 7 Plus, the map on leaflets.com looks terrible.
Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#48Leaflet author here. Thanks for the kind words everyone! A few core developers are here too. Ask us anything. :)
Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#49In my experience the best thing about Leaflet is the possibility of using CSS to style, transform and animate markers. Shameless plug, see for instance this map using css 'explosions': https://citybik.es
Really cool, love it! Is there an open data feed for this stuff then? I love open data, there is so much available now.
If you are interested in the actual sources, these are available on the data files that compose pybikes[1]
[1]: https://github.com/eskerda/pybikes/tree/master/pybikes/data
Re: Leaflet: An open-source JavaScript library for mobile-friendly interactive maps
#50Leaflet author here. Thanks for the kind words everyone! A few core developers are here too. Ask us anything. :)
I have a small question while you are here...
In my application, when a user zooms the map.. the tiles and markers seem to get get zoomed at different rates, then finally snap back together at the end of the zoom.
Is this something I'm doing wrong. Is there anyway to mitigate that effect?
Thanks again.