managed

fun managed(mapId: String, formatCode: String = "webp"): Map.Managed

Returns a managed map with the given map ID.

Use this method if your map is managed by Attractions.io and a copy is included in the application bundle. Map views using maps returned by this method will automatically update if new versions of the map become available.

If a map with the same ID still exists which was previously returned from this method, that same map instance will be returned.

Return

A Map instance

Since

0.0.86

Parameters

mapId

The UUID of the managed map as a String

Throws

If the provided id isn't a valid UUID