Thanks a lot. What a great solution. By the way it works with https://mobac.sourceforge.io/
So I can download other map source like Google maps with the format that you mentioned.
Thanks a lot, @mazeyrat! Very cool and SUPER simple. @Paul.Scott possible to add this into the IA user manual under the Perspective Map component?
I'm not super excited on the premise of storing things in the webserver\webapps\main\
directory, for two reasons.
- Our installers delete that directory on upgrade, so you'd need to be mindful about managing those tiles yourself on upgrade
- I'm not an expert on the matter, but my understanding of how files in that directory get served up is sort of a byproduct of some stuff Jetty does. Meaning, nothing we wrote in our code base is directly facilitating that behavior. The next time we upgrade Jetty, that functionality could just disappear.
Point #2 is a big part of the reason why the user manual doesn't really suggest putting things in that directory. I could see using a WebDev Mounted Folder or some other webserver to store the tiles, which the component page you suggested could mention.
Web dev is add to project for just simple serving some files. So please donāt disable that option for us.
Thanks Paul, I didnāt know that those files were deleted on upgrade, good to know!
Iāll see about adding the Web dev module to our customerās licence. Thanks for the reply and the info
Sure thing. FWIW, might be worth looking at that self hosting OpenMapTiles link mazeyrat posted early in this thread. I havenāt had a chance to check it out yet, but seems promising.