Answer the question
In order to leave comments, you need to log in
How do I change my image back to default in ymaps?
when points hit the polygon, I set the following parameters
preset: 'islands#redStretchyIcon',
iconLayout: 'default#image',
iconImageHref: "../img/231.png",
iconImageSize: [8, 8],
iconImageOffset: [-4, -4],
visible: true
object.options.set({'preset': 'islands#pinkDotIcon'});
object.options.set('iconLayout', 'default#redPoint');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question