Skip to content

Commit

Permalink
Map - support Azure provider (#28122)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zedwag authored Oct 14, 2024
1 parent 462ad9e commit c342403
Show file tree
Hide file tree
Showing 9 changed files with 1,642 additions and 11 deletions.
1 change: 1 addition & 0 deletions packages/devextreme-scss/scss/widgets/base/_map.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
left: 0;
background: rgba(0, 0, 0, 0.01);
opacity: 0.01;
pointer-events: all;
}

.dx-map-marker {
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/js/__internal/ui/map/m_map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ import { addNamespace } from '@js/events/utils/index';
import errors from '@js/ui/widget/ui.errors';
import Widget from '@js/ui/widget/ui.widget';

import azure from './m_provider.dynamic.azure';
import bing from './m_provider.dynamic.bing';
import google from './m_provider.dynamic.google';
// NOTE external urls must have protocol explicitly specified (because inside Cordova package the protocol is "file:")
import googleStatic from './m_provider.google_static';

const PROVIDERS = {
azure,
googleStatic,
google,
bing,
Expand Down Expand Up @@ -216,6 +218,7 @@ const Map = Widget.inherit({
case 'disabled':
this._renderShield();
this.callBase(args);
this._queueAsyncAction('updateDisabled');
break;
case 'width':
case 'height':
Expand Down
Loading

0 comments on commit c342403

Please sign in to comment.