JMap.MapContext.applyContextById
Apples the map context for a given id.
the JMap map context id
if map-context not found
// load the map-context id=3 on screenJMap.MapContext.applyContextById(3) .then(() => console.info("Map context applied")) .catch(error => console.error(error)) Copy
// load the map-context id=3 on screenJMap.MapContext.applyContextById(3) .then(() => console.info("Map context applied")) .catch(error => console.error(error))
JMap.MapContext.applyContextById
Apples the map context for a given id.