Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Marker): remove buggy
MarkerWithLabel
support
BREAKING CHANGE: MarkerWithLabel comes with its own React Component now Before: ```js import { Marker } from "react-google-maps"; <Marker position={{ lat: -34.397, lng: 150.644 }} labelAnchor={new google.maps.Point(0, 0)} labelContent="<div>Hello There!</div>" labelStyle={{/* WON'T WORK */}} /> ``` After: ```js import MarkerWithLabel from "react-google-maps/lib/components/addons/MarkerWithLabel"; <MarkerWithLabel position={{ lat: -34.397, lng: 150.644 }} labelAnchor={new google.maps.Point(0, 0)} labelStyle={{backgroundColor: "yellow", fontSize: "32px", padding: "16px"}} > <div>Hello There!</div> </MarkerWithLabel> ```
- Loading branch information