Closed cnly1987 closed 3 years ago
<BingMapsReact bingMapsKey="my_api_key" height="500px" mapOptions={{ navigationBarMode: "square" }} width="500px" viewOptions={{ center: { latitude: dt.latitude, longitude: dt.longitude}, mapTypeId: "grayscale" }} />
const BingMapsReact = dynamic(()=> import('bingmaps-react'), {ssr:false}) fixed!
<BingMapsReact bingMapsKey="my_api_key" height="500px" mapOptions={{ navigationBarMode: "square" }} width="500px" viewOptions={{ center: { latitude: dt.latitude, longitude: dt.longitude}, mapTypeId: "grayscale" }} />