DeckOverlay
loadModules
loadModules(moduleNames)
Arguments:
moduleNames(String[]?) - Optional modules to load, e.g.'Microsoft.Maps.GeoJson','Microsoft.Maps.DrawingTools'
Returns a Promise that resolves to the global Microsoft.Maps namespace. A custom class, DeckOverlay, is also added to the namespace.
DeckOverlay
An implementation of CustomOverlay.
const deckOverlay = new DeckOverlay({...});
map.layers.insert(deckOverlay);
The constructor accepts a props object that is passed to the Deck constructor. See the limitations section below for more details.
The following Deck methods can be called directly from a DeckOverlay instance:
deckOverlay.setPropsdeckOverlay.pickObjectdeckOverlay.pickMultipleObjectsdeckOverlay.pickObjectsdeckOverlay.redrawdeckOverlay.finalize
Supported Features and Limitations
Supported deck.gl features:
- Layers
- Effects
- Auto-highlighting
- Attribute transitions
onHoverandonClickcallbacks- Tooltip
Not supported features:
- Tilting
- Multiple views
- Controller
- React integration
- Gesture event callbacks (e.g.
onDrag*)