Fix typo
This commit is contained in:
@@ -13,10 +13,10 @@ import eu.konggdev.strikemaps.map.source.MapSource;
|
||||
import java.util.*;
|
||||
|
||||
public class MapStyle {
|
||||
//Only local data/
|
||||
//Only local data
|
||||
public String name;
|
||||
public Bitmap icon;
|
||||
/
|
||||
|
||||
public JsonNode metadata; // everything except layers + sources
|
||||
public Map<String, MapSource> sources;
|
||||
public JsonNode layerDefinitions; // the "layers" array
|
||||
@@ -34,7 +34,7 @@ public class MapStyle {
|
||||
MapStyle style = new MapStyle();
|
||||
style.name = root.path("name").asText();
|
||||
style.icon = getIcon(root.path("icon").asText(), app);
|
||||
/
|
||||
|
||||
style.sources = mapper.convertValue(
|
||||
root.path("sources"),
|
||||
new TypeReference<Map<String, MapSource>>() {}
|
||||
|
||||
Reference in New Issue
Block a user