Skip to content

Markers not displaying when mapped from an array #3075

Answered by AirLancer
MattHeslington asked this question in Q&A
Discussion options

You must be logged in to vote

I had the same issue.
If you are using react 18+ try replacing the import (and HTML tags) "Marker" with "MarkerF".
It is a functional implementation of Marker.
Also see:
https://stackoverflow.com/questions/72112491/marker-not-showing-react-google-maps-api-on-localhost-next-js
or
#3048 (comment)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MattHeslington
Comment options

@toddjudd
Comment options

Answer selected by MattHeslington
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants