• JMap.MapContext.isActive

    Returns false if the map context functionnality is not active.

    Some users don't have access to map context, like the anonymous or system user.

    If map context service is not avalable, user cannot access, create, update or delete context from the service.

    Returns boolean

    Example

    // true if user can use map contexts
    JMap.MapContext.isActive()