• JMap.Map.Attribution.removeByIds

    Remove the attributions from the map for the given ids (does nothing if id not found)

    Parameters

    • attributionsIds: string[]

      array of attribution ids to remove

    Returns void

    Throws

    Error if attributionsIds is not an array

    Example

    // Remove a custom attribution from the map.
    JMap.Map.Attribution.removeByIds(["my-attribution"])