Отображение собственной метки через objectManager
Почему при указании опций размера иконки в файле json собственное изображение повторяется?
Если не указывать эту опцию, размер иконки подгоняется под фиксированный размер.
{
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"id": 0,
"geometry": {
"type": "Point",
"coordinates": [39.481042, -0.341110]
},
"properties": {
"balloonContent": "Содержимое балуна",
"hintContent": "Текст подсказки"
},
"options": {
"iconLayout": "default#image",
"iconImageHref": "images/cooperw.png",
"balloonMinWidth": "570"
}
},
{
"type": "Feature",
"id": 1,
"geometry": {
"type": "Point",
"coordinates": [55.481042, 18.341110]
},
"properties": {
"balloonContent": "Содержимое балуна",
"hintContent": "Текст подсказки"
},
"options": {
"iconLayout": "default#image",
"iconImageHref": "images/cooperw.png",
"iconImageSize": "[15,24]",
"balloonMinWidth": "570"
}
}
]
}