Closed sdevansh96 closed 1 year ago
Hey! Are you trying to center the marker?
Hi,
Used a hack to fix it.
Also is there a way to implement the UrlTile feature?
Ive done my research in the past and I believe that google maps js sdk does not support loading tiles from static of external sources.
Edit: Would you mind sharing the hack you used? Maybe it's useful for someone else :)
I wanted to use SVG icon so created a component in the Marker but the icon position was not coming correct as of the default marker pin.
For ios/android we have centerOffset/anchor property to adjust the position of the maker pin but It was not working for the web.
So gave position absolute to the SVG component to centre it to the correct position.
Hi
I am unable to change the marker pin offset using the anchor={{x: -0.5, y: -0.9}} property.