Closed Sidra1111 closed 1 year ago
Hey @Sidra1111 I could you provide more information? There is to little information for me to deal with this issue.
Couldn't implement map using map container asvit always give me error that map container is already initialized though i haven't used it already. Somehow i managed to implement map without using map container
Is the example in the readme, behaving the same for you, or is it working? The errors in regards to being already initialized, are sometimes a bit misleading.
Getting error in the following code .tried everything to resolve couldnt figure it out. Error: Map.js:1092 Uncaught Error: Map container is already initialized. import React, { Component } from "react"; import { MapContainer, TileLayer, Marker, Popup } from "react-leaflet"; import { Card, Row, Col, CardHeader, CardBody, Badge } from "reactstrap";
class Map extends Component {
render() { return (
Open Street Map
Easily customizable.
} }
export default Map;