Get started with next.js
npm Dependencies
npm i "@vis.gl/react-google-maps"
@googlemaps/markerclusterer
@react-google-maps/api
npm version used in this repo.
@react-google-maps/api = 2.19.3
,@googlemaps/markerclusterer = 2.5.3
@vis.gl/react-google-maps = 1.1.0
environment varialbles
GOOGLE_MAPS_API_KEY=
Use to hold google map api key.GOOGLE_MAPS_ID=
Google map id - can get from google cloud platform
Use Lint to maintain better coding standard
npm run lint -- --fix
Use command to check lint issues and possible auto fixes.
Please check following blog with more detail: https://github.com/sankalpaa/GoogleMapNextjs