Иконка гто по умолчанию

This commit is contained in:
zakhy 2025-01-28 11:46:20 +07:00
parent 1717da64bf
commit 274a15dcb5

View File

@ -120,7 +120,7 @@
function GTOStyleFunction(feature, resolution) {
return new ol.style.Style({
image: new ol.style.Icon({
src: feature.get('icon'),
src: feature.get('icon') ? feature.get('icon') : "/static/img/belaz.png",
width: 30,
height: 20
}),