can we try different layer settings while retrieving TomTom map tiles to show more information on map.
For example, i want to try layer = “hybrid” or “poi” instead of “basic”:
I am using custom style give some color’s to the map and code looks like below:
const map = tt.map({
container: maprefcontiner
key: constants.mapKey,
style: ttMapStyle (this is a json style file which stored in my folder)
})
That is how this should work.
ttMapStyle should be a JSON object. So if you have the style in a file, then you need to load it first.
Or just use URL of the hosted style file.