We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to add some markers with icon to my map but I can't find the issue. I'm not getting an error or anything, it just does not show.
This is what I have tried:
Thanks for your help!
This is the only thing I have found on the docs(Guide section) but it is quite vage.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
📚 Is your documentation request related to a problem?
I'm trying to add some markers with icon to my map but I can't find the issue. I'm not getting an error or anything, it just does not show.
This is what I have tried:
<script> const handleReady = async () => { console.log(maps.value.map); markers.value.forEach((marker) => { const markerContent = document.createElement('div'); markerContent.innerHTML = ``; maps.value.createAdvancedMapMarker({ position: marker.position, content: markerContent.firstChild as Node, }).then((mapMarker: any) => { mapMarker.setMap(maps.value.map); // console.log('Marker added:', mapMarker.map); }).catch((error: any) => { console.error('Error adding marker:', error); }); }); } </script>
Thanks for your help!
🔍 Where should you find it?
This is the only thing I have found on the docs(Guide section) but it is quite vage.
ℹ️ Additional context
No response
The text was updated successfully, but these errors were encountered: