React Map - Overview
The Map is an interactive UI component that displays a geographic map with markers and routes.
The code below adds the Map UI component to your page. The Map is centered and zoomed and supplied with controls that allow a user to zoom and navigate the Map or change its type.
- import React from 'react';
- import 'devextreme/dist/css/dx.light.css';
- import { Map } from 'devextreme-react/map';
- const centerCoordinates = { lat: 40.749825, lng: -73.987963 };
- class App extends React.Component {
- render() {
- return (
- <Map
- defaultZoom={10}
- controls={true}
- defaultCenter={centerCoordinates}
- />
- );
- }
- }
- export default App;
Use our DevExpress BI Dashboard to embed interactive business intelligence into your next web app.
The Web Dashboard is a data analysis UI component that you can embed into your ASP.NET Core or Angular, React, and Vue applications with .NET backend. Dashboards allow you to display multiple inter-connected data analysis elements such as grids, charts, maps, gauges, and others: all within an automatically-arranged layout.
The set of components allows you to deploy an all-in-one solution and switch between Viewer and Designer modes directly on the web client (includes adaptive layouts for tablet & mobile).
The Web Dashboard is available as a part of a Universal subscription.
See Also
If you have technical questions, please create a support ticket in the DevExpress Support Center.