-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi,
I have come over this issue when using this package.
Any idea why?
Code:
import Card from "@mui/material/Card";
// Material Dashboard 2 React components
import MDBox from "components/MDBox";
import MDTypography from "components/MDTypography";
// Bingmaps
import BingMapsReact from "bingmaps-react";
const Map = () => {
const pushPin = {
center: {
latitude: 27.98785,
longitude: 86.925026,
},
options: {
title: "Mt. Everest",
},
};
const pushPins = [pushPin];
return (
<Card>
<MDBox
mx={2}
mt={-3}
py={3}
px={2}
variant="gradient"
bgColor="info"
borderRadius="lg"
coloredShadow="info"
>
<MDTypography variant="h6" color="white">
Map
</MDTypography>
</MDBox>
<MDBox pt={1} pb={2} px={2}>
<MDBox component="ul" display="flex" flexDirection="column" p={0} m={0}></MDBox>
<BingMapsReact
bingMapsKey="API_KEY"
pushPins={pushPins}
viewOptions={{ center: { latitude: 27.98785, longitude: 86.925026 } }}
/>
</MDBox>
</Card>
);
};
export default Map;
selcuktoklucu
Metadata
Metadata
Assignees
Labels
No labels