I am playing around with the v6 beta of the Maps SDK for Web. I am unable to get all the map styles in merge style method working.
For instance: incidents_dark
results in a white container with only copyright. And the settings for poi=poi_main
has the same result. With the poi=poi_main
the debugger Is see a 404-error (Requested style \"poi_main\" could not be found.
). The default setting only works when you remote the poi=poi_main
.
"https://api.tomtom.com/style/1/style/20.3.2-*? map=basic_main&traffic_incidents=incidents_day &traffic_flow=flow_relative0&poi=poi_main"
Am I missing something, or is this beta thingy? After all it is a beta.
I test my map with a very simple static javascript.
tt.setProductInfo('<your-product-name>', '<your-product-version>');
tt.map({
key: key,
container: 'map',
style: 'https://api.tomtom.com/style/1/style/20.3.2-3?map=basic_night-lite&traffic_incidents=incidents_day&traffic_flow=flow_reduced-sensitivity',
center: [location],
zoom: 11,
stylesVisibility:{
trafficFlow: true,
trafficIncidents: true
}