From 5d2ff6b174a18d9c2870c98608013be79db23dd3 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Thu, 3 Apr 2014 11:37:27 +0400 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=8B=D0=B2=D0=BE=D0=B4=20=D1=81=D0=BE?= =?UTF-8?q?=D0=BE=D1=82=D0=B2=D0=B5=D1=82=D1=81=D1=82=D0=B2=D1=83=D1=8E?= =?UTF-8?q?=D1=89=D0=B5=D0=B3=D0=BE=20=D0=BC=D0=B0=D1=80=D0=BA=D0=B5=D1=80?= =?UTF-8?q?=D0=B0=20=D0=B4=D0=BB=D1=8F=20=D1=82=D0=BE=D1=87=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/main.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public/js/main.js b/public/js/main.js index 9e206b2..236d953 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -53,14 +53,15 @@ function getPoints() for(var k in data) { myPlacemark = new ymaps.Placemark( [data[k]['lat'], data[k]['lng']], { - hintContent: data[k]['name'], - balloonContent: + hintContent: data[k]['name'], + balloonContent: '
' + '' + '

'+data[k]['name']+'

' + data[k]['description'] + ' Подробнее...
' - }); + },{iconImageHref: data[k]['categoryIcon']}); + myMap.geoObjects.add(myPlacemark); } }