Bug in Maps Block – js error if zoom control not enabled.
-
If i deselect the “Zoom controlls” option I get the following Javascript error:
Uncaught SyntaxError: expected expression, got ','
let map = new google.maps.Map(mapElem, {
zoom: 14,
gestureHandling: 'cooperative',
mapTypeId: 'roadmap',
mapTypeControl: ,
zoomControl: ,
fullscreenControl: ,
streetViewControl: 1,
scrollwheel: false,
center: latlng,
styles: []
});And the error points to the zoomControl: , line above in the output.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.