@googlemaps/markerwithlabel
v2.0.28
Published
[](https://www.npmjs.com/package/@googlemaps/markerwithlabel)  .
A version can be specified by using https://unpkg.com/@googlemaps/markerwithlabel@VERSION/dist/....
Documentation
The reference documentation can be found at this link.
Example
import { MarkerWithLabel } from '@googlemaps/markerwithlabel';
new MarkerWithLabel({
position: new google.maps.LatLng(49.475, -123.84),
clickable: true,
draggable: true,
map: map,
labelContent: "foo", // can also be HTMLElement
labelAnchor: new google.maps.Point(-21, 3),
labelClass: "labels", // the CSS class for the label
labelStyle: { opacity: 1.0 },
})View the package in action:

