React Map - key
Use the apiKey property instead.
App.js
- import React from 'react';
- import 'devextreme/dist/css/dx.common.css';
- import 'devextreme/dist/css/dx.light.css';
- import Map, {
- Key
- } from 'devextreme-react/map';
- class App extends React.Component {
- render() {
- return (
- <Map ... >
- <Key
- bing="MY_BING_MAPS_KEY"
- google="MY_GOOGLE_MAPS_KEY"
- googleStatic="MY_GOOGLE_STATIC_MAPS_KEY"
- />
- </Map>
- );
- }
- }
- export default App;
NOTE
The value of this property cannot be changed dynamically.
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.