Google Maps
OverviewOfficial Website
A declarative Google Map React component using React, lazy-loading dependencies and current-location finder.
Import package
import { GoogleMap, LoadScript, Marker, InfoWindow, } from "@react-google-maps/api";
Add Package
npm install @react-google-maps/api --save
Remove Package
npm remove @react-google-maps/api / you can remove package by removing specific package from package.json
Examples
Title | Javascript |
---|---|
Required Code |
|
Markers |
|
Overlays |
|
Street View Panoramas |
|
Map Types |
|