Answer the question
In order to leave comments, you need to log in
How to redraw ObjectManager in Yandex maps?
<ObjectManager
options={{
clusterize: false,
gridSize: 32,
}}
objects={{
preset: 'islands#greenDotIcon',
}}
clusters={{
preset: 'islands#greenClusterIcons',
}}
features={ //отрисовывает синие залитые контуры регионов
{
type: 'FeatureCollection',
features: polygonOmsu.featuresFilters //массив с объектами с зарисованными районами (лежит в стейте)
}
}
/>
{
geometry: {type: "Polygon", coordinates: Array(1), fillRule: "nonZero"}
id: 1
id_15899170699943886: "4350"
options: {fillColor: "#5999F1", fillOpacity: 0.9, strokeColor: "#fff", strokeWidth: 1, hintLayout: ƒ}
properties: {}
regionId: 59
type: "Feature"
}
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