• JMap.Map.Attribution.getById

    Returns an attribution for the given id

    Parameters

    • attributionId: string

      The attribution id

    Returns JMapAttribution

    Example

    // Display a mapbox attribution.
    console.log(JMap.Map.Attribution.getById("mapbox-satellite-1-attribution"))