0.1.3 • Published 3 years ago

google-maps-react-components v0.1.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Readme

Working on tutorial and npm deployment...

Components

Map

propsDescriptionRequired
apiKeygoogle maps api keytrue
stylestyle of the maptrue
optionsMap options
children etc.

Marker

propsDescriptionRequired
positionin format {lat:Number ,lng:Number}true
markerKeymanditory marker key for children renderingtrue
markerOptionssupports google maps marker options, can use a callback function
typeMarker type, will be used
childrenChildren rendered inside infoWindow

The markerKey is used as the ID for the infowindow.

Reason for this library

Why do we need or want another google maps component library? -> intuitive uses hooks -> extensible using redux, will write guide on this -> beginner friendly -> jsx in google maps markers

Can effectivly add and remove map markers with just a useState hook

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago