Package org.openremote.model.manager
Class MapSourceConfig
java.lang.Object
org.openremote.model.manager.MapSourceConfig
Implements MapLibre style spec sources property.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
Contains an attribution to be displayed when the map is shown to a user.protected float[]
An array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order:[sw.lng, sw.lat, ne.lng, ne.lat]
.protected boolean
The custom property enables users to specify the tile server is not part of OpenRemote.protected Integer
Maximum zoom level for which tiles are available, as in the TileJSON spec.protected Integer
Minimum zoom level for which tiles are available, as in the TileJSON spec.protected String
Influences the y direction of the tile coordinates.protected String[]
An array of one or more tile source URLs, as in the TileJSON spec.protected String
The type of the source.protected String
A URL to a TileJSON resource. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
The type of the source. -
url
A URL to a TileJSON resource. -
tiles
An array of one or more tile source URLs, as in the TileJSON spec. -
bounds
protected float[] boundsAn array containing the longitude and latitude of the southwest and northeast corners of the source's bounding box in the following order:[sw.lng, sw.lat, ne.lng, ne.lat]
. When this property is included in a source, no tiles outside of the given bounds are requested by MapLibre. -
scheme
Influences the y direction of the tile coordinates. The global-mercator (aka Spherical Mercator) profile is assumed.xyz
: Slippy map tilenames scheme.tms
: OSGeo spec scheme.
-
minzoom
Minimum zoom level for which tiles are available, as in the TileJSON spec. -
maxzoom
Maximum zoom level for which tiles are available, as in the TileJSON spec. Data from tiles at the maxzoom are used when displaying the map at higher zoom levels. -
attribution
Contains an attribution to be displayed when the map is shown to a user. -
custom
protected boolean customThe custom property enables users to specify the tile server is not part of OpenRemote. The Maplibre sources follow the TileJSON specification. The TileJSON specification allows additional properties not in the spec. Those properties MUST be ignored by MapLibre, but can be used in OpenRemote.
-
-
Constructor Details
-
MapSourceConfig
public MapSourceConfig()
-