Better icons

This commit is contained in:
Sebastien Deleuze
2016-03-19 18:53:23 +01:00
parent f488a30bec
commit a66289baa7
5 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -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);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 653 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB