-
Hi all! I am trying to build a web app, which would use offline vector tiles via MapFileTileSource, as shown in the code below (create() method in org.oscim.web.client.GwtMap()) - just using MapFileTileSource instead of the default one.
However when trying to run it via ./gradlew :vtm-web-app:farmRun, I get such an error messgae:
Apparently, there is an empty implementation of FileInputStream in vtm-web/org/oscim/gdx/emu/java/io/FileInputStream.java. When I try to use the proper java.io implementation instead of this one, I get an error message stating the following:
I have earlier used MapFileTileSource on Android build and it worked fine. But I can't get it working on the web build, so could anyone help out with that? Maybe this tile source is not supported for web? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
VTM web supports online tiles. It works with GWT, for extra classes may need work in the emu package. For offline maps on browser can look other implementations, like the server apps here: |
Beta Was this translation helpful? Give feedback.
VTM web supports online tiles.
It works with GWT, for extra classes may need work in the emu package.
For offline maps on browser can look other implementations, like the server apps here:
https://github.com/mapsforge/mapsforge/blob/master/docs/Mapsforge-Applications.md