Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One thing question that I have. If I want to use an image as a source of my tiles. Should I split the image into chunks to load them when user moves the map around? Or is there any other way to do that? Are there any tools that would help split an image into those chunks?


Depends on your use case. If it is a very very large image, then yes you should split it into tiles. If the image is simply large and you want to use leaflet as a panning tool, then simply loading it as is should be fine.


There are a few tools that will "tile" an image for you. libvips dzsave works well, even for really big images: https://libvips.github.io/libvips/API/current/Making-image-p...

There are commercial products in this space too (like Maptiler).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: