Class CustomLayer
java.lang.Object
net.pl3x.map.core.Keyed
net.pl3x.map.core.markers.layer.Layer
net.pl3x.map.core.markers.layer.SimpleLayer
net.pl3x.map.core.markers.layer.WorldLayer
net.pl3x.map.core.markers.layer.CustomLayer
- All Implemented Interfaces:
JsonSerializable
Represents a custom layer of markers and other metadata.
-
Constructor Summary
ConstructorsConstructorDescriptionCustomLayer(String key, World world, Supplier<String> labelSupplier) Create a new custom layer. -
Method Summary
Methods inherited from class WorldLayer
getOptions, getWorld, setOptionsMethods inherited from class SimpleLayer
addMarker, clearMarkers, getMarkers, hasMarker, registeredMarkers, removeMarkerMethods inherited from class Layer
equals, getCss, getLabel, getPane, getPriority, getUpdateInterval, getUpdateInterval, getZIndex, hashCode, isDefaultHidden, isLiveUpdate, setCss, setDefaultHidden, setLabel, setLabel, setLiveUpdate, setPane, setPriority, setShowControls, setUpdateInterval, setUpdateInterval, setZIndex, shouldShowControls, toJson, toString
-
Constructor Details
-
CustomLayer
-
-
Method Details
-
load
-
fromJson
-