Browse Source

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

pull/1131/head
Sergey Tarnavskiy 8 years ago
parent
commit
8d64f5e66b
  1. 2104
      ui/src/app/locale/locale.constant-es_ES.json
  2. 2
      ui/src/app/widget/lib/google-map.js

2104
ui/src/app/locale/locale.constant-es_ES.json

File diff suppressed because it is too large

2
ui/src/app/widget/lib/google-map.js

@ -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
});

Loading…
Cancel
Save