You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Im mapping over an array and creating Markers to display on my map. I want to create a unique Popup for each Marker so I'm using the popup property that is available on . The popup returned is working correctly on the map, but my terminal is showing an error which im guessing related to a difference in the DOM. Any ideas as to why?
error TypeError: Cannot read properties of undefined (reading 'createDocumentFragment')
at createPopUp (./src/components/map/Map-Component.jsx:53:12)
at eval (./src/components/map/Map-Component.jsx:151:32)
at Array.map ()
at MapComponent (./src/components/map/Map-Component.jsx:147:87)
null
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Im mapping over an array and creating Markers to display on my map. I want to create a unique Popup for each Marker so I'm using the popup property that is available on . The popup returned is working correctly on the map, but my terminal is showing an error which im guessing related to a difference in the DOM. Any ideas as to why?
Im not sure why it's working as intended but still throwing an error ::
at createPopUp (./src/components/map/Map-Component.jsx:53:12)
at eval (./src/components/map/Map-Component.jsx:151:32)
at Array.map ()
at MapComponent (./src/components/map/Map-Component.jsx:147:87)
null
Beta Was this translation helpful? Give feedback.
All reactions