Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Added sprite support to map

Christian Bauerf7c579f81a06
diff --git a/manager/client/src/main/java/org/openremote/manager/client/map/MapWidget.java b/manager/client/src/main/java/org/openremote/manager/client/map/MapWidget.java
index edd035413..4af68c18e 100644
--- a/manager/client/src/main/java/org/openremote/manager/client/map/MapWidget.java
+++ b/manager/client/src/main/java/org/openremote/manager/client/map/MapWidget.java
@@ -30,7 +30,6 @@ import org.openremote.manager.client.interop.mapbox.EventType;
import org.openremote.manager.client.interop.mapbox.GeoJSONSource;
import org.openremote.manager.client.interop.mapbox.MapboxMap;
import org.openremote.manager.client.interop.mapbox.Navigation;
-import org.openremote.manager.client.util.JsUtil;
import java.util.HashMap;
import java.util.Map;
@@ -42,22 +41,17 @@ public class MapWidget extends ComplexPanel {
// Feature IDs
public static final String FEATURES_SOURCE_ALL = "features-source-all";
- public static final String FEATURES_SOURCE_SELECTION = "features-source-selection";
public static final String FEATURES_LAYER_ALL = "features-layer-all";
- public static final String FEATURES_LAYER_SELECTION_TEXT = "features-layer-selection-text";
- public static final String FEATURES_LAYER_SELECTION_CIRCLE = "features-layer-selection-circle";
+ public static final String FEATURES_SOURCE_SELECTION = "features-source-selection";
+ public static final String FEATURES_LAYER_SELECTION = "features-layer-selection";
// Render a circle on location
@SuppressWarnings("GwtInconsistentSerializableClass")
static final public JsMapFromStringTo<Object> LAYER_ALL = JsMapFromStringTo.create();
- // Render feature title as label on location
- @SuppressWarnings("GwtInconsistentSerializableClass")
- static final public JsMapFromStringTo<Object> LAYER_SELECTION_TEXT = JsMapFromStringTo.create();
-
- // Render a circle on location
+ // Render a dropped pin and feature title on location
@SuppressWarnings("GwtInconsistentSerializableClass")
- static final public JsMapFromStringTo<Object> LAYER_SELECTION_CIRCLE = JsMapFromStringTo.create();
+ static final public JsMapFromStringTo<Object> LAYER_SELECTION = JsMapFromStringTo.create();
static {
{
@@ -79,6 +73,7 @@ public class MapWidget extends ComplexPanel {
{
JsMapFromStringTo<Object> layout = JsMapFromStringTo.create();
layout.put("visibility", "visible");
+
layout.put("text-field", "{title}");
JsArrayOfString textFont = JsArrayOfString.create();
textFont.push("Open Sans Semibold");
@@ -98,37 +93,28 @@ public class MapWidget extends ComplexPanel {
layout.put("text-allow-overlap", true);
JsArrayOfNumber offset = JsArrayOfNumber.create();
offset.push(0);
- offset.push(1.2);
+ offset.push(0.8);
layout.put("text-offset", offset);
+ layout.put("icon-image", "marker-15");
+ offset = JsArrayOfNumber.create();
+ offset.push(0);
+ offset.push(-4);
+ layout.put("icon-offset", offset);
+
JsMapFromStringTo<Object> paint = JsMapFromStringTo.create();
// TODO Add color to theme settings
+ //paint.put("icon-color", "rgb(193, 215, 47)");
paint.put("text-color", "#000");
paint.put("text-halo-color", "#fff");
paint.put("text-halo-width", 4.0);
- paint.put("text-halo-blur", 40.0);
-
- LAYER_SELECTION_TEXT.put("id", FEATURES_LAYER_SELECTION_TEXT);
- LAYER_SELECTION_TEXT.put("type", "symbol");
- LAYER_SELECTION_TEXT.put("source", FEATURES_SOURCE_SELECTION);
- LAYER_SELECTION_TEXT.put("layout", layout);
- LAYER_SELECTION_TEXT.put("paint", paint);
- }
- {
- JsMapFromStringTo<Object> layout = JsMapFromStringTo.create();
- layout.put("visibility", "visible");
-
- JsMapFromStringTo<Object> paint = JsMapFromStringTo.create();
- paint.put("circle-radius", 15.0); // This MUST be double!
- paint.put("circle-opacity", 0.9);
- // TODO Add color to theme settings
- paint.put("circle-color", "rgb(193, 215, 47)");
+ paint.put("text-halo-blur", 4.0);
- LAYER_SELECTION_CIRCLE.put("id", FEATURES_LAYER_SELECTION_CIRCLE);
- LAYER_SELECTION_CIRCLE.put("type", "circle");
- LAYER_SELECTION_CIRCLE.put("source", FEATURES_SOURCE_SELECTION);
- LAYER_SELECTION_CIRCLE.put("layout", layout);
- LAYER_SELECTION_CIRCLE.put("paint", paint);
+ LAYER_SELECTION.put("id", FEATURES_LAYER_SELECTION);
+ LAYER_SELECTION.put("type", "symbol");
+ LAYER_SELECTION.put("source", FEATURES_SOURCE_SELECTION);
+ LAYER_SELECTION.put("layout", layout);
+ LAYER_SELECTION.put("paint", paint);
}
}
@@ -140,9 +126,8 @@ public class MapWidget extends ComplexPanel {
// These sources can be initialized late, as we have to consider async arriving currentFeaturesData
protected boolean featuresReady = false;
- protected GeoJSONSource sourceAll;
- protected GeoJSONSource sourceSelection;
- protected Map<String, JsonObject> currentFeatureSourceData = new HashMap<>(); // We hold GeoJSON data, keyed by feature ID
+ protected Map<String, GeoJSONSource> featureSources = new HashMap<>(); // Holds the displayed GeoJSON data
+ protected Map<String, JsonObject> currentFeatureSourceData = new HashMap<>(); // We also hold received GeoJSON data, keyed by feature ID
public MapWidget(JsonObject mapOptions) {
this();
@@ -216,7 +201,6 @@ public class MapWidget extends ComplexPanel {
currentFeatureData = Json.parse("{\"type\":\"FeatureCollection\",\"features\":[]}");
}
LOG.fine("Preparing data on feature source: " + featureSourceId);
- JsUtil.log(currentFeatureData);
sourceOptions.put("data", currentFeatureData);
return sourceOptions;
}
@@ -225,10 +209,10 @@ public class MapWidget extends ComplexPanel {
LOG.fine("Adding GeoJSON feature sources and layers on map load");
JsonObject sourceOptionsSelection = prepareSourceOptions(FEATURES_SOURCE_SELECTION);
- sourceSelection = new GeoJSONSource(sourceOptionsSelection);
+ GeoJSONSource sourceSelection = new GeoJSONSource(sourceOptionsSelection);
+ featureSources.put(FEATURES_SOURCE_SELECTION, sourceSelection);
mapboxMap.addSource(FEATURES_SOURCE_SELECTION, sourceSelection);
- mapboxMap.addLayer(LAYER_SELECTION_CIRCLE);
- mapboxMap.addLayer(LAYER_SELECTION_TEXT);
+ mapboxMap.addLayer(LAYER_SELECTION);
JsonObject sourceOptionsAll = prepareSourceOptions(FEATURES_SOURCE_ALL);
sourceOptionsAll.put("maxzoom", 20);
@@ -237,9 +221,10 @@ public class MapWidget extends ComplexPanel {
sourceOptionsAll.put("cluster", false);
sourceOptionsAll.put("clusterRadius", 50);
sourceOptionsAll.put("clusterMaxZoom", 15);
- sourceAll = new GeoJSONSource(sourceOptionsAll);
+ GeoJSONSource sourceAll = new GeoJSONSource(sourceOptionsAll);
+ featureSources.put(FEATURES_SOURCE_ALL, sourceAll);
mapboxMap.addSource(FEATURES_SOURCE_ALL, sourceAll);
- mapboxMap.addLayer(LAYER_ALL, FEATURES_LAYER_SELECTION_TEXT);
+ mapboxMap.addLayer(LAYER_ALL, FEATURES_LAYER_SELECTION);
featuresReady = true;
}
@@ -247,21 +232,11 @@ public class MapWidget extends ComplexPanel {
public void showFeatures(String featureSourceId, String featuresJson) {
LOG.fine("Showing features on source " + featureSourceId + ": " + featuresJson);
JsonObject data = Json.parse(featuresJson);
- JsUtil.log(data);
currentFeatureSourceData.put(featureSourceId, data);
if (featuresReady) {
- LOG.fine("Feature layers are ready, setting data directly");
- switch (featureSourceId) {
- case FEATURES_SOURCE_ALL:
- data = currentFeatureSourceData.remove(featureSourceId);
- if (data != null)
- sourceAll.setData(data);
- break;
- case FEATURES_SOURCE_SELECTION:
- data = currentFeatureSourceData.remove(featureSourceId);
- if (data != null)
- sourceSelection.setData(data);
- break;
+ data = currentFeatureSourceData.remove(featureSourceId);
+ if (data != null && featureSources.containsKey(featureSourceId)) {
+ featureSources.get(featureSourceId).setData(data);
}
}
}
diff --git a/manager/client/src/main/webapp/sprites/bright-v9.json b/manager/client/src/main/webapp/sprites/bright-v9.json
new file mode 100644
index 000000000..69418f9d6
--- /dev/null
+++ b/manager/client/src/main/webapp/sprites/bright-v9.json
@@ -0,0 +1,1171 @@
+{
+ "airfield-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 218,
+ "y": 63
+ },
+ "airfield-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 0,
+ "y": 0
+ },
+ "airport-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 235,
+ "y": 63
+ },
+ "airport-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 21,
+ "y": 0
+ },
+ "alcohol-shop-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 252,
+ "y": 63
+ },
+ "alcohol-shop-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 0,
+ "y": 21
+ },
+ "amusement-park-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 269,
+ "y": 63
+ },
+ "amusement-park-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 21,
+ "y": 21
+ },
+ "aquarium-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 286,
+ "y": 63
+ },
+ "aquarium-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 42,
+ "y": 0
+ },
+ "art-gallery-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 303,
+ "y": 63
+ },
+ "art-gallery-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 63,
+ "y": 0
+ },
+ "attraction-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 168,
+ "y": 84
+ },
+ "attraction-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 42,
+ "y": 21
+ },
+ "bakery-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 185,
+ "y": 84
+ },
+ "bakery-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 63,
+ "y": 21
+ },
+ "bank-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 202,
+ "y": 84
+ },
+ "bank-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 0,
+ "y": 42
+ },
+ "bar-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 219,
+ "y": 84
+ },
+ "bar-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 21,
+ "y": 42
+ },
+ "beer-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 236,
+ "y": 84
+ },
+ "beer-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 42,
+ "y": 42
+ },
+ "bicycle-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 253,
+ "y": 84
+ },
+ "bicycle-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 63,
+ "y": 42
+ },
+ "bicycle-share-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 270,
+ "y": 84
+ },
+ "bicycle-share-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 0,
+ "y": 63
+ },
+ "bus-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 287,
+ "y": 84
+ },
+ "bus-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 21,
+ "y": 63
+ },
+ "cafe-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 304,
+ "y": 84
+ },
+ "cafe-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 42,
+ "y": 63
+ },
+ "campsite-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 168,
+ "y": 105
+ },
+ "campsite-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 63,
+ "y": 63
+ },
+ "car-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 185,
+ "y": 105
+ },
+ "car-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 84,
+ "y": 0
+ },
+ "castle-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 202,
+ "y": 105
+ },
+ "castle-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 105,
+ "y": 0
+ },
+ "cemetery-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 219,
+ "y": 105
+ },
+ "cemetery-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 126,
+ "y": 0
+ },
+ "cinema-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 236,
+ "y": 105
+ },
+ "cinema-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 147,
+ "y": 0
+ },
+ "circle-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 253,
+ "y": 105
+ },
+ "circle-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 84,
+ "y": 21
+ },
+ "circle-stroked-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 270,
+ "y": 105
+ },
+ "circle-stroked-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 105,
+ "y": 21
+ },
+ "clothing-store-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 287,
+ "y": 105
+ },
+ "clothing-store-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 126,
+ "y": 21
+ },
+ "college-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 304,
+ "y": 105
+ },
+ "college-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 147,
+ "y": 21
+ },
+ "dentist-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 168,
+ "y": 126
+ },
+ "dentist-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 84,
+ "y": 42
+ },
+ "doctor-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 185,
+ "y": 126
+ },
+ "doctor-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 105,
+ "y": 42
+ },
+ "dog-park-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 202,
+ "y": 126
+ },
+ "dog-park-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 126,
+ "y": 42
+ },
+ "drinking-water-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 219,
+ "y": 126
+ },
+ "drinking-water-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 147,
+ "y": 42
+ },
+ "embassy-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 236,
+ "y": 126
+ },
+ "embassy-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 84,
+ "y": 63
+ },
+ "entrance-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 253,
+ "y": 126
+ },
+ "entrance-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 105,
+ "y": 63
+ },
+ "fast-food-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 270,
+ "y": 126
+ },
+ "fast-food-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 126,
+ "y": 63
+ },
+ "ferry-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 287,
+ "y": 126
+ },
+ "ferry-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 147,
+ "y": 63
+ },
+ "fire-station-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 304,
+ "y": 126
+ },
+ "fire-station-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 0,
+ "y": 84
+ },
+ "fuel-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 168,
+ "y": 147
+ },
+ "fuel-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 21,
+ "y": 84
+ },
+ "garden-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 185,
+ "y": 147
+ },
+ "garden-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 42,
+ "y": 84
+ },
+ "golf-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 202,
+ "y": 147
+ },
+ "golf-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 63,
+ "y": 84
+ },
+ "grocery-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 219,
+ "y": 147
+ },
+ "grocery-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 84,
+ "y": 84
+ },
+ "harbor-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 236,
+ "y": 147
+ },
+ "harbor-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 105,
+ "y": 84
+ },
+ "heliport-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 253,
+ "y": 147
+ },
+ "heliport-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 126,
+ "y": 84
+ },
+ "hospital-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 270,
+ "y": 147
+ },
+ "hospital-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 147,
+ "y": 84
+ },
+ "ice-cream-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 287,
+ "y": 147
+ },
+ "ice-cream-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 0,
+ "y": 105
+ },
+ "information-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 304,
+ "y": 147
+ },
+ "information-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 21,
+ "y": 105
+ },
+ "laundry-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 0,
+ "y": 168
+ },
+ "laundry-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 42,
+ "y": 105
+ },
+ "library-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 17,
+ "y": 168
+ },
+ "library-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 63,
+ "y": 105
+ },
+ "lodging-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 34,
+ "y": 168
+ },
+ "lodging-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 84,
+ "y": 105
+ },
+ "marker-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 51,
+ "y": 168
+ },
+ "marker-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 105,
+ "y": 105
+ },
+ "monument-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 68,
+ "y": 168
+ },
+ "monument-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 126,
+ "y": 105
+ },
+ "motorway_1": {
+ "height": 18,
+ "pixelRatio": 1,
+ "width": 18,
+ "x": 168,
+ "y": 42
+ },
+ "motorway_2": {
+ "height": 18,
+ "pixelRatio": 1,
+ "width": 25,
+ "x": 186,
+ "y": 42
+ },
+ "motorway_3": {
+ "height": 18,
+ "pixelRatio": 1,
+ "width": 32,
+ "x": 211,
+ "y": 42
+ },
+ "motorway_4": {
+ "height": 18,
+ "pixelRatio": 1,
+ "width": 39,
+ "x": 243,
+ "y": 42
+ },
+ "motorway_5": {
+ "height": 18,
+ "pixelRatio": 1,
+ "width": 45,
+ "x": 282,
+ "y": 42
+ },
+ "motorway_6": {
+ "height": 18,
+ "pixelRatio": 1,
+ "width": 50,
+ "x": 168,
+ "y": 63
+ },
+ "mountain-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 85,
+ "y": 168
+ },
+ "mountain-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 147,
+ "y": 105
+ },
+ "museum-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 102,
+ "y": 168
+ },
+ "museum-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 0,
+ "y": 126
+ },
+ "music-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 119,
+ "y": 168
+ },
+ "music-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 21,
+ "y": 126
+ },
+ "park-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 136,
+ "y": 168
+ },
+ "park-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 42,
+ "y": 126
+ },
+ "pharmacy-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 153,
+ "y": 168
+ },
+ "pharmacy-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 63,
+ "y": 126
+ },
+ "picnic-site-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 170,
+ "y": 168
+ },
+ "picnic-site-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 84,
+ "y": 126
+ },
+ "place-of-worship-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 187,
+ "y": 168
+ },
+ "place-of-worship-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 105,
+ "y": 126
+ },
+ "playground-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 204,
+ "y": 168
+ },
+ "playground-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 126,
+ "y": 126
+ },
+ "police-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 221,
+ "y": 168
+ },
+ "police-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 147,
+ "y": 126
+ },
+ "post-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 238,
+ "y": 168
+ },
+ "post-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 0,
+ "y": 147
+ },
+ "prison-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 255,
+ "y": 168
+ },
+ "prison-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 21,
+ "y": 147
+ },
+ "rail-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 272,
+ "y": 168
+ },
+ "rail-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 42,
+ "y": 147
+ },
+ "rail-light-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 289,
+ "y": 168
+ },
+ "rail-light-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 63,
+ "y": 147
+ },
+ "rail-metro-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 306,
+ "y": 168
+ },
+ "rail-metro-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 84,
+ "y": 147
+ },
+ "religious-christian-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 0,
+ "y": 185
+ },
+ "religious-christian-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 105,
+ "y": 147
+ },
+ "religious-jewish-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 17,
+ "y": 185
+ },
+ "religious-jewish-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 126,
+ "y": 147
+ },
+ "religious-muslim-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 34,
+ "y": 185
+ },
+ "religious-muslim-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 147,
+ "y": 147
+ },
+ "restaurant-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 51,
+ "y": 185
+ },
+ "restaurant-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 168,
+ "y": 0
+ },
+ "rocket-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 68,
+ "y": 185
+ },
+ "rocket-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 189,
+ "y": 0
+ },
+ "school-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 85,
+ "y": 185
+ },
+ "school-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 210,
+ "y": 0
+ },
+ "shop-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 102,
+ "y": 185
+ },
+ "shop-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 231,
+ "y": 0
+ },
+ "stadium-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 119,
+ "y": 185
+ },
+ "stadium-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 252,
+ "y": 0
+ },
+ "star-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 136,
+ "y": 185
+ },
+ "star-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 273,
+ "y": 0
+ },
+ "suitcase-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 153,
+ "y": 185
+ },
+ "suitcase-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 294,
+ "y": 0
+ },
+ "swimming-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 170,
+ "y": 185
+ },
+ "swimming-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 315,
+ "y": 0
+ },
+ "theatre-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 187,
+ "y": 185
+ },
+ "theatre-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 168,
+ "y": 21
+ },
+ "toilet-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 204,
+ "y": 185
+ },
+ "toilet-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 189,
+ "y": 21
+ },
+ "town-hall-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 221,
+ "y": 185
+ },
+ "town-hall-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 210,
+ "y": 21
+ },
+ "triangle-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 238,
+ "y": 185
+ },
+ "triangle-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 231,
+ "y": 21
+ },
+ "triangle-stroked-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 255,
+ "y": 185
+ },
+ "triangle-stroked-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 252,
+ "y": 21
+ },
+ "veterinary-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 272,
+ "y": 185
+ },
+ "veterinary-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 273,
+ "y": 21
+ },
+ "volcano-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 289,
+ "y": 185
+ },
+ "volcano-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 294,
+ "y": 21
+ },
+ "wave": {
+ "height": 8,
+ "pixelRatio": 1,
+ "width": 16,
+ "x": 320,
+ "y": 63
+ },
+ "zoo-11": {
+ "height": 17,
+ "pixelRatio": 1,
+ "width": 17,
+ "x": 306,
+ "y": 185
+ },
+ "zoo-15": {
+ "height": 21,
+ "pixelRatio": 1,
+ "width": 21,
+ "x": 315,
+ "y": 21
+ }
+}
\ No newline at end of file
diff --git a/manager/client/src/main/webapp/sprites/bright-v9.png b/manager/client/src/main/webapp/sprites/bright-v9.png
new file mode 100644
index 000000000..1940c34e3
Binary files /dev/null and b/manager/client/src/main/webapp/sprites/bright-v9.png differ
diff --git a/manager/client/src/main/webapp/sprites/[email protected] b/manager/client/src/main/webapp/sprites/[email protected]
new file mode 100644
index 000000000..6706faa04
--- /dev/null
+++ b/manager/client/src/main/webapp/sprites/[email protected]
@@ -0,0 +1,1171 @@
+{
+ "airfield-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 436,
+ "y": 126
+ },
+ "airfield-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 0,
+ "y": 0
+ },
+ "airport-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 470,
+ "y": 126
+ },
+ "airport-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 42,
+ "y": 0
+ },
+ "alcohol-shop-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 504,
+ "y": 126
+ },
+ "alcohol-shop-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 0,
+ "y": 42
+ },
+ "amusement-park-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 538,
+ "y": 126
+ },
+ "amusement-park-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 42,
+ "y": 42
+ },
+ "aquarium-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 572,
+ "y": 126
+ },
+ "aquarium-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 84,
+ "y": 0
+ },
+ "art-gallery-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 606,
+ "y": 126
+ },
+ "art-gallery-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 126,
+ "y": 0
+ },
+ "attraction-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 336,
+ "y": 168
+ },
+ "attraction-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 84,
+ "y": 42
+ },
+ "bakery-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 370,
+ "y": 168
+ },
+ "bakery-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 126,
+ "y": 42
+ },
+ "bank-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 404,
+ "y": 168
+ },
+ "bank-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 0,
+ "y": 84
+ },
+ "bar-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 438,
+ "y": 168
+ },
+ "bar-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 42,
+ "y": 84
+ },
+ "beer-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 472,
+ "y": 168
+ },
+ "beer-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 84,
+ "y": 84
+ },
+ "bicycle-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 506,
+ "y": 168
+ },
+ "bicycle-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 126,
+ "y": 84
+ },
+ "bicycle-share-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 540,
+ "y": 168
+ },
+ "bicycle-share-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 0,
+ "y": 126
+ },
+ "bus-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 574,
+ "y": 168
+ },
+ "bus-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 42,
+ "y": 126
+ },
+ "cafe-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 608,
+ "y": 168
+ },
+ "cafe-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 84,
+ "y": 126
+ },
+ "campsite-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 336,
+ "y": 210
+ },
+ "campsite-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 126,
+ "y": 126
+ },
+ "car-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 370,
+ "y": 210
+ },
+ "car-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 168,
+ "y": 0
+ },
+ "castle-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 404,
+ "y": 210
+ },
+ "castle-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 210,
+ "y": 0
+ },
+ "cemetery-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 438,
+ "y": 210
+ },
+ "cemetery-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 252,
+ "y": 0
+ },
+ "cinema-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 472,
+ "y": 210
+ },
+ "cinema-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 294,
+ "y": 0
+ },
+ "circle-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 506,
+ "y": 210
+ },
+ "circle-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 168,
+ "y": 42
+ },
+ "circle-stroked-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 540,
+ "y": 210
+ },
+ "circle-stroked-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 210,
+ "y": 42
+ },
+ "clothing-store-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 574,
+ "y": 210
+ },
+ "clothing-store-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 252,
+ "y": 42
+ },
+ "college-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 608,
+ "y": 210
+ },
+ "college-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 294,
+ "y": 42
+ },
+ "dentist-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 336,
+ "y": 252
+ },
+ "dentist-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 168,
+ "y": 84
+ },
+ "doctor-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 370,
+ "y": 252
+ },
+ "doctor-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 210,
+ "y": 84
+ },
+ "dog-park-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 404,
+ "y": 252
+ },
+ "dog-park-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 252,
+ "y": 84
+ },
+ "drinking-water-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 438,
+ "y": 252
+ },
+ "drinking-water-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 294,
+ "y": 84
+ },
+ "embassy-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 472,
+ "y": 252
+ },
+ "embassy-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 168,
+ "y": 126
+ },
+ "entrance-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 506,
+ "y": 252
+ },
+ "entrance-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 210,
+ "y": 126
+ },
+ "fast-food-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 540,
+ "y": 252
+ },
+ "fast-food-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 252,
+ "y": 126
+ },
+ "ferry-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 574,
+ "y": 252
+ },
+ "ferry-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 294,
+ "y": 126
+ },
+ "fire-station-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 608,
+ "y": 252
+ },
+ "fire-station-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 0,
+ "y": 168
+ },
+ "fuel-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 336,
+ "y": 294
+ },
+ "fuel-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 42,
+ "y": 168
+ },
+ "garden-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 370,
+ "y": 294
+ },
+ "garden-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 84,
+ "y": 168
+ },
+ "golf-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 404,
+ "y": 294
+ },
+ "golf-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 126,
+ "y": 168
+ },
+ "grocery-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 438,
+ "y": 294
+ },
+ "grocery-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 168,
+ "y": 168
+ },
+ "harbor-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 472,
+ "y": 294
+ },
+ "harbor-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 210,
+ "y": 168
+ },
+ "heliport-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 506,
+ "y": 294
+ },
+ "heliport-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 252,
+ "y": 168
+ },
+ "hospital-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 540,
+ "y": 294
+ },
+ "hospital-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 294,
+ "y": 168
+ },
+ "ice-cream-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 574,
+ "y": 294
+ },
+ "ice-cream-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 0,
+ "y": 210
+ },
+ "information-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 608,
+ "y": 294
+ },
+ "information-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 42,
+ "y": 210
+ },
+ "laundry-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 0,
+ "y": 336
+ },
+ "laundry-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 84,
+ "y": 210
+ },
+ "library-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 34,
+ "y": 336
+ },
+ "library-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 126,
+ "y": 210
+ },
+ "lodging-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 68,
+ "y": 336
+ },
+ "lodging-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 168,
+ "y": 210
+ },
+ "marker-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 102,
+ "y": 336
+ },
+ "marker-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 210,
+ "y": 210
+ },
+ "monument-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 136,
+ "y": 336
+ },
+ "monument-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 252,
+ "y": 210
+ },
+ "motorway_1": {
+ "height": 36,
+ "pixelRatio": 2,
+ "width": 36,
+ "x": 336,
+ "y": 84
+ },
+ "motorway_2": {
+ "height": 36,
+ "pixelRatio": 2,
+ "width": 50,
+ "x": 372,
+ "y": 84
+ },
+ "motorway_3": {
+ "height": 36,
+ "pixelRatio": 2,
+ "width": 64,
+ "x": 422,
+ "y": 84
+ },
+ "motorway_4": {
+ "height": 36,
+ "pixelRatio": 2,
+ "width": 78,
+ "x": 486,
+ "y": 84
+ },
+ "motorway_5": {
+ "height": 36,
+ "pixelRatio": 2,
+ "width": 90,
+ "x": 564,
+ "y": 84
+ },
+ "motorway_6": {
+ "height": 36,
+ "pixelRatio": 2,
+ "width": 100,
+ "x": 336,
+ "y": 126
+ },
+ "mountain-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 170,
+ "y": 336
+ },
+ "mountain-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 294,
+ "y": 210
+ },
+ "museum-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 204,
+ "y": 336
+ },
+ "museum-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 0,
+ "y": 252
+ },
+ "music-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 238,
+ "y": 336
+ },
+ "music-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 42,
+ "y": 252
+ },
+ "park-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 272,
+ "y": 336
+ },
+ "park-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 84,
+ "y": 252
+ },
+ "pharmacy-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 306,
+ "y": 336
+ },
+ "pharmacy-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 126,
+ "y": 252
+ },
+ "picnic-site-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 340,
+ "y": 336
+ },
+ "picnic-site-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 168,
+ "y": 252
+ },
+ "place-of-worship-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 374,
+ "y": 336
+ },
+ "place-of-worship-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 210,
+ "y": 252
+ },
+ "playground-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 408,
+ "y": 336
+ },
+ "playground-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 252,
+ "y": 252
+ },
+ "police-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 442,
+ "y": 336
+ },
+ "police-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 294,
+ "y": 252
+ },
+ "post-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 476,
+ "y": 336
+ },
+ "post-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 0,
+ "y": 294
+ },
+ "prison-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 510,
+ "y": 336
+ },
+ "prison-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 42,
+ "y": 294
+ },
+ "rail-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 544,
+ "y": 336
+ },
+ "rail-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 84,
+ "y": 294
+ },
+ "rail-light-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 578,
+ "y": 336
+ },
+ "rail-light-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 126,
+ "y": 294
+ },
+ "rail-metro-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 612,
+ "y": 336
+ },
+ "rail-metro-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 168,
+ "y": 294
+ },
+ "religious-christian-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 0,
+ "y": 370
+ },
+ "religious-christian-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 210,
+ "y": 294
+ },
+ "religious-jewish-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 34,
+ "y": 370
+ },
+ "religious-jewish-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 252,
+ "y": 294
+ },
+ "religious-muslim-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 68,
+ "y": 370
+ },
+ "religious-muslim-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 294,
+ "y": 294
+ },
+ "restaurant-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 102,
+ "y": 370
+ },
+ "restaurant-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 336,
+ "y": 0
+ },
+ "rocket-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 136,
+ "y": 370
+ },
+ "rocket-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 378,
+ "y": 0
+ },
+ "school-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 170,
+ "y": 370
+ },
+ "school-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 420,
+ "y": 0
+ },
+ "shop-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 204,
+ "y": 370
+ },
+ "shop-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 462,
+ "y": 0
+ },
+ "stadium-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 238,
+ "y": 370
+ },
+ "stadium-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 504,
+ "y": 0
+ },
+ "star-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 272,
+ "y": 370
+ },
+ "star-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 546,
+ "y": 0
+ },
+ "suitcase-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 306,
+ "y": 370
+ },
+ "suitcase-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 588,
+ "y": 0
+ },
+ "swimming-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 340,
+ "y": 370
+ },
+ "swimming-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 630,
+ "y": 0
+ },
+ "theatre-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 374,
+ "y": 370
+ },
+ "theatre-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 336,
+ "y": 42
+ },
+ "toilet-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 408,
+ "y": 370
+ },
+ "toilet-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 378,
+ "y": 42
+ },
+ "town-hall-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 442,
+ "y": 370
+ },
+ "town-hall-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 420,
+ "y": 42
+ },
+ "triangle-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 476,
+ "y": 370
+ },
+ "triangle-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 462,
+ "y": 42
+ },
+ "triangle-stroked-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 510,
+ "y": 370
+ },
+ "triangle-stroked-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 504,
+ "y": 42
+ },
+ "veterinary-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 544,
+ "y": 370
+ },
+ "veterinary-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 546,
+ "y": 42
+ },
+ "volcano-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 578,
+ "y": 370
+ },
+ "volcano-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 588,
+ "y": 42
+ },
+ "wave": {
+ "height": 16,
+ "pixelRatio": 2,
+ "width": 32,
+ "x": 640,
+ "y": 126
+ },
+ "zoo-11": {
+ "height": 34,
+ "pixelRatio": 2,
+ "width": 34,
+ "x": 612,
+ "y": 370
+ },
+ "zoo-15": {
+ "height": 42,
+ "pixelRatio": 2,
+ "width": 42,
+ "x": 630,
+ "y": 42
+ }
+}
\ No newline at end of file
diff --git a/manager/client/src/main/webapp/sprites/[email protected] b/manager/client/src/main/webapp/sprites/[email protected]
new file mode 100644
index 000000000..8d339b298
Binary files /dev/null and b/manager/client/src/main/webapp/sprites/[email protected] differ
diff --git a/manager/server/sample/mapsettings.json b/manager/server/sample/mapsettings.json
index ecf76db26..9e7b47d73 100644
--- a/manager/server/sample/mapsettings.json
+++ b/manager/server/sample/mapsettings.json
@@ -4,6 +4,7 @@
"zoom": 12,
"maxZoom": 18,
"style": {
+ "sprite": "/static/sprites/bright-v9",
"layers": [
{
"id": "background",