the JMap map context id
true if the link is shared, else false
if context not found, or empty title, or server request error
// update the map-context id=3 link share state to true
JMap.MapContext
.setLinkShare(3, true)
.then(() => console.info(`Map context id=3 is now shared`))
.catch(error => console.error(error))
JMap.MapContext.setLinkShare
Updates a map context link share state, without changing the map data.
The map-context link share state is persisted server-side.