diff --git a/src/main/resources/static/horse.png b/src/main/resources/static/horse.png deleted file mode 100644 index c9540b2..0000000 Binary files a/src/main/resources/static/horse.png and /dev/null differ diff --git a/src/main/resources/static/m.png b/src/main/resources/static/m.png new file mode 100644 index 0000000..9de624d Binary files /dev/null and b/src/main/resources/static/m.png differ diff --git a/src/main/resources/static/map.js b/src/main/resources/static/map.js index 4e3b10f..fdde15e 100644 --- a/src/main/resources/static/map.js +++ b/src/main/resources/static/map.js @@ -32,7 +32,7 @@ geolocation.on("error", function (error) { }); var positionFeature = new ol.Feature(); positionFeature.setStyle(new ol.style.Style({ - image: new ol.style.Icon({src: "horse.png", scale: 0.25}) + image: new ol.style.Icon({src: "u.png", scale: 0.5}) })); var centerDefined = false; geolocation.on("change:position", function () { @@ -134,7 +134,7 @@ var vectorSource = new ol.source.Vector({ var vector = new ol.layer.Vector({ source: vectorSource, - style: new ol.style.Style({image: new ol.style.Icon({src: "pig.png", scale: 0.1})}), + style: new ol.style.Style({image: new ol.style.Icon({src: "m.png", scale: 0.5})}), }); map.addLayer(vector); diff --git a/src/main/resources/static/pig.png b/src/main/resources/static/pig.png deleted file mode 100644 index 8916cdf..0000000 Binary files a/src/main/resources/static/pig.png and /dev/null differ diff --git a/src/main/resources/static/u.png b/src/main/resources/static/u.png new file mode 100644 index 0000000..6a4b988 Binary files /dev/null and b/src/main/resources/static/u.png differ