var json = {
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"id": 0,
"geometry": {
"type": "Point",
"coordinates": [55.753215, 37.6225],
"Lat": 55.753215,
"Long": 37.6225,
"PrintCoordinates": "[55.753215,37.6225]"
},
"properties": {
"balloonContentHeader": "Основной",
"balloonContentBody": "Партнер: Charmante Соболева Ольга - клиенты",
"balloonContentFooter": null,
"clusterCaption": "Основной",
"hintContent": "Основной"
},
"options": {
"preset": "islands#redIcon"
}
}, {
"type": "Feature",
"id": 1,
"geometry": {
"type": "Point",
"coordinates": [55.933948, 37.8432],
"Lat": 55.933948,
"Long": 37.8432,
"PrintCoordinates": "[55.933948,37.8432]"
},
"properties": {
"balloonContentHeader": "ladybird",
"balloonContentBody": "Партнер: Вд Башинская Людмила Викторовна - (ФАВ)",
"balloonContentFooter": null,
"clusterCaption": "ladybird",
"hintContent": "ladybird"
},
"options": {
"preset": "islands#darkGreenIcon"
}
}]}
"features": [{...}, {...} , {...} ,{...}]
"features": [{...}, {...} , {...} ,{...}]
Посмотрите вот так правильно?
У updated указал по умолчанию значение 1 для новых, добавленных записей, далее изменил процедуру: