var PointsArray = [
{...},
{...},
{...}
];
$(function() {
... ko.applyBindings(new PointsViewModel());});
function PointsViewModel(){
var self = this;
self.points = ko.observableArray(PointsArray);
//this.chosenPoint = ko.observable();
self.chosenPoint = self.points()[document.getElementById('eCurrentPlacemarkId').value];
}
</script>
<body>
<input type="hidden" id="eCurrentPlacemarkId" value="1">
<input type="text" id="eCurrentPlacemarkName" data-bind="value: chosenPoint.name">