• JMap.Map.Basemap.getAllIds

    Returns the available basemap ids that can be used with method activateById.

    Mapbox values are : "mapbox-light", "mapbox-streets", "mapbox-satellite", "mapbox-satellite-streets", "mapbox-dark", or "mapbox-outdoors"

    OSM value is : "osm-standard"

    Returns string[]

    an array of string, the available basemap ids

    Example

    // returns an array of string containing all available basemap ids
    JMap.Map.Basemap.getAllIds()