Hi.
Since I need to load the map on Ships, I need to make sure that on the local network of the ship I can make request to a different URL, I mean app.mappedin.com or CDN addresses like https://cdn.mappedin.com to be replaced with my own base path and from that base path, I call the mapped in services.
How can I do that ?
Is there a specific part documentation relating to this ?
The Mappedin Viewer that you can embed into a web page does not currently support an offline mode, but Mappedin JS does!
This means you could create a custom web app using Mappedin JS that read map data from a local source, with a couple of caveats. Any images added to the map using the Mappedin Editor will not be available. These are supplied to Mappedin JS as URLs, which you could read in your app and then change to point to a new image location hosted from somewhere on the ship.
To do this, you’ll first need to download the map using a system that is online and store the map data as JSON using MapData. toJSONBundle.
Then, on the offline system instead of using the getMapData() method, use the hydrateMapData() method to read in the JSON you saved previously.
There is also a way to download a Mappedin Venue Format (MVF) file from our REST API and load that into Mappedin JS. Instructions for downloading an MVF can be found here: Getting Started with MVF v2
We’ll be adding instructions on how to load these using Mappedin JS to our developer guides soon.
I’ve updated our Getting Started guide to cover the methods that support offline usage. Have a look at Offline Mode and let me know if you have any questions.