+ var map = L.map('references-map').setView([52, 20], 7);
+
+ if (navigator.geolocation) {
+ navigator.geolocation.getCurrentPosition(function(position) {
+ map.setView(
+ [position.coords.latitude, position.coords.longitude], 8,
+ {
+ animate: true,
+ }
+ );
+ });
+ }
+