Added map zooming by scroll wheel in GoogleMaps widgets and updated Spanish locale

This commit is contained in:
Sergey Tarnavskiy 2018-10-09 16:21:05 +03:00
parent 6b4a2ff166
commit 8d64f5e66b
2 changed files with 1173 additions and 935 deletions

File diff suppressed because it is too large Load Diff

View File

@ -44,7 +44,7 @@ export default class TbGoogleMap {
function initGoogleMap() {
tbMap.map = new google.maps.Map($containerElement[0], { // eslint-disable-line no-undef
scrollwheel: false,
scrollwheel: true,
mapTypeId: getGoogleMapTypeId(tbMap.defaultMapType),
zoom: tbMap.defaultZoomLevel || 8
});