ddubrava / angular-yandex-maps

🗺️ Yandex.Maps Angular components that implement the Yandex.Maps JavaScript API
https://ddubrava.github.io/angular8-yandex-maps/#/
MIT License
58 stars 8 forks source link

❓ - Custom markers are not displayed #245

Closed 14837-eng closed 4 months ago

14837-eng commented 4 months ago

Description

I use the code from the documentation - the markers are not displayed, I change the markers to the default ones and everything works. What should I do to make the markers created by the programmer work?

Library name

ddubrava commented 4 months ago

Hi! The library is nothing more than a midleware between Angular and the Yandex.Maps API. So in your case you can check these examples (select react.html, components are almost the same)

The difference is that YMapMarker

Allows you to insert your own DOM implementation of the marker.

While YMapDefaultMarker has a layout out of the box.

So all you need to do is whether use YMapDefaultMarker or use YMapMarker and pass your custom HTML

14837-eng commented 4 months ago

Sorry for the disinfo. The problem was not in your library, but in a tailwind conflict between Yandex api.