Fix raster sources

Fix typo
This commit is contained in:
2026-04-16 08:30:56 +02:00
parent ea67fbd352
commit b2a07b80d0
2 changed files with 10 additions and 1 deletions

View File

@@ -1,9 +1,18 @@
package eu.konggdev.strikemaps.map.source;
import com.fasterxml.jackson.databind.JsonNode;
public class MapSource {
public String url;
public String type;
public String schema;
public String attribution;
/* For raster sources */
public JsonNode tiles;
public int minzoom;
public int maxzoom;
public MapSource() { }
}

View File

@@ -31,7 +31,7 @@ public class MapStyle {
try {
JsonNode root = mapper.readTree(styleContents);
MapStyle style = new MapStyle();
MapStyle style = new MapStyle();
style.name = root.path("name").asText();
style.icon = getIcon(root.path("icon").asText(), app);