diff --git a/public/js/main.js b/public/js/main.js index 333abc3..293f8b3 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -1,10 +1,10 @@ /* - * To change this template, choose Tools | Templates - * and open the template in the editor. + * Let's GO! */ ymaps.ready(init); var myMap; +var categories; function init() { myMap = new ymaps.Map("map", { @@ -18,6 +18,7 @@ function init() { myMap.controls.add('smallZoomControl'); myMap.controls.add('scaleLine'); + initCategories() getPoints(); myMap.events.add('click', function (e) { @@ -35,8 +36,7 @@ function init() { '
' + 'Тип:
' +
'' +
'
Источник:
' +
'