+ var map = L.map('references-map').setView([52, 20], 7);
+ L.Icon.Default.imagePath='{{ STATIC_URL }}contrib/leaflet-1.9.4/images/'
+
+ if (navigator.geolocation) {
+ navigator.geolocation.getCurrentPosition(function(position) {
+ map.setView(
+ [position.coords.latitude, position.coords.longitude], 8,
+ {
+ animate: true,
+ }
+ );
+ });
+ }
+