diff --git a/ground/views/indexTemplate.php b/ground/views/indexTemplate.php index b113edf..f36f5a0 100644 --- a/ground/views/indexTemplate.php +++ b/ground/views/indexTemplate.php @@ -10,7 +10,7 @@
- +
diff --git a/public/js/main.js b/public/js/main.js index 8b9bb52..362d7ae 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -102,3 +102,18 @@ function searchAdderess() function (err) {} ); } + +function showMeOnTheMap() +{ + myMap.geoObjects.add( + new ymaps.Placemark( + [ymaps.geolocation.latitude, ymaps.geolocation.longitude], + { + balloonContentHeader: ymaps.geolocation.country, + balloonContent: ymaps.geolocation.city, + balloonContentFooter: ymaps.geolocation.region + }, + {iconImageHref: '/ico/man.png', iconImageSize: [32, 37]} + ) +); +}