I came across a solution on how to integrate the openweathermap layer into a tom-tom map:
tomTomMap.addSource('owm_source', {
type: 'raster',
tiles: [
'https://tile.openweathermap.org/map/clouds_new/{1}/{51}/{20}.png?{app_id}'
],
tileSize: 256,
minZoom: 0,
maxZoom: 12,
attribution: openWeatherMapAttribution
});
I'm curious about the 'attribution' part and am not sure what it means. Can someone please explain this to me?
Uncaught Error: Style is not done loading
at r._checkLoaded (mapbox-gl.js:33)
at r.addSource (mapbox-gl.js:33)
at n.addSource (mapbox-gl.js:33)
at t.<computed> [as addSource] (mapFactory.js:1121)
at script.js:59**