Current map had been failing to be restored on startup with OnlineTileSource and OfflineTileSource maps. This is because TileSource.getOption("path") was used as identifier though not available with those sources.
Instead, I added an identifier in MapFile: it's still TileSource.getOption("path") for imported maps, whereas the content URI is used with OnlineTileSource and OfflineTileSource.
Current map had been failing to be restored on startup with
OnlineTileSource
andOfflineTileSource
maps. This is because TileSource.getOption("path") was used as identifier though not available with those sources.Instead, I added an identifier in MapFile: it's still TileSource.getOption("path") for imported maps, whereas the content URI is used with OnlineTileSource and OfflineTileSource.