this.y + this.step;
this.y += this.step;
var map = new ymaps.Map(...),
collection = new ymaps.GeoObjectCollection();
for (var i in objects) {
collection.add(new ymaps.Placemark(
objects[i].coords
{
...
},
{
hasBalloon: false,
href: objects[i].href
...
}
));
}
collection.events.add('click', function (e) {
location = e.get('target').options.get('href');
});
map.geoObjects.add(collection);
function getRussian (string) {
return string.replace(/%([^%]+)/g, function () {
return unescape('%u' + ('000' + (parseInt(arguments[1], 16) + 848).toString(16)).slice(-4));
});
}