How to hover over an object (description of a place) so it will appear on the map?

I used the following and don’t understand why it doesn’t work. Any sugestions of implementing it differently will also help. some explanations - taMuseum - is the description of the place. the TAMuseumiconButton is the marker on the map. Can’t get why it doesn’t work:
export function taMuseum_mouseIn(event) {
$w( ‘#TAMuseumiconButton’ ).show();
}

export function taMuseum_mouseOut(event) {
$w( ‘#TAMuseumiconButton’ ).hide();
}

Are you using a Google Map? Markers on the map are not Wix buttons, rather they are map markers - not the same thing.

I can’t suggest another way of implementing it since I don’t know what your current implementation looks like.

If you can supply more information you will have a better chance of someone being able to help you.

Thanks Yisrael for your response!
I want it to be like in airbnb - when you are hovering over the property’s photo, the map marker(?!) of this place color changes, so one can see it on the map. Is there a way to do it in Wix? or there is no way to locate any Wix buttons on google maps?

You can use the GoogleMap element or if that doesn’t suit your needs, you can use a Google Map embedded in an HtmlElement which you can see in the Example: Multiple Markers Google Maps .

Thanks! Will check this