$tabsLink.click(function (e) {
e.preventDefault();
var index = parseInt($(this).data('index'));
console.log(typeof index);
if (typeof index === 'number' && points[index]) {
map.panTo(points[index].gps, {duration: 3000});
$ibAddress.html(points[index].address);
}
});
ну вы другие ответы подождите. я не вот прямо спец в бэкенде =)