It doesn't seem that AdvancedMarkerElement is compatible with the addMarker() function, as there is an error that says...
Uncaught (in promise) TypeError: t.getPosition is not a function
at line...
return marker.getPosition()!;
According to the AdvancedMarkerElement docs and legacy Marker docs, getPosition() from Marker has been replaced with the "position" property in the AdvancedMarkerElement
Will compatibility with the AdvancedMarkerElement be implemented in the future?
It doesn't seem that AdvancedMarkerElement is compatible with the addMarker() function, as there is an error that says...
Uncaught (in promise) TypeError: t.getPosition is not a function
at line...
return marker.getPosition()!;
According to the AdvancedMarkerElement docs and legacy Marker docs, getPosition() from Marker has been replaced with the "position" property in the AdvancedMarkerElement
Will compatibility with the AdvancedMarkerElement be implemented in the future?