Theme

Change the map theme

Set map theme

ParameterDescriptionType

theme

basic

satellite // Satellite theme

String

let LatLng = {lat: 37.482890, lng: 126.896086}
let mapInstance = new fatosmap.maps.Map(
    document.getElementById("app"),
    {
        zoom: 14,
        center: LatLng,
        maxZoom: 20,
        minZoom: 2,
        key: 'YOUR_API_KEY'
        
        // theme
        theme: 'satellite' Default basic
    }
)

Last updated