Record Class OfflineRegionDefinition.TilePyramid
java.lang.Object
java.lang.Record
org.maplibre.nativejni.offline.OfflineRegionDefinition.TilePyramid
- All Implemented Interfaces:
OfflineRegionDefinition
- Enclosing interface:
OfflineRegionDefinition
public static record OfflineRegionDefinition.TilePyramid(String styleUrl, LatLngBounds bounds, double minZoom, double maxZoom, float pixelRatio, boolean includeIdeographs)
extends Record
implements OfflineRegionDefinition
-
Nested Class Summary
Nested classes/interfaces inherited from interface OfflineRegionDefinition
OfflineRegionDefinition.GeometryRegion, OfflineRegionDefinition.TilePyramid -
Constructor Summary
ConstructorsConstructorDescriptionTilePyramid(String styleUrl, LatLngBounds bounds, double minZoom, double maxZoom, float pixelRatio, boolean includeIdeographs) Creates an instance of aTilePyramidrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbounds()Returns the value of theboundsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theincludeIdeographsrecord component.doublemaxZoom()Returns the value of themaxZoomrecord component.doubleminZoom()Returns the value of theminZoomrecord component.floatReturns the value of thepixelRatiorecord component.styleUrl()Returns the value of thestyleUrlrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
TilePyramid
public TilePyramid(String styleUrl, LatLngBounds bounds, double minZoom, double maxZoom, float pixelRatio, boolean includeIdeographs) Creates an instance of aTilePyramidrecord class.- Parameters:
styleUrl- the value for thestyleUrlrecord componentbounds- the value for theboundsrecord componentminZoom- the value for theminZoomrecord componentmaxZoom- the value for themaxZoomrecord componentpixelRatio- the value for thepixelRatiorecord componentincludeIdeographs- the value for theincludeIdeographsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
styleUrl
Returns the value of thestyleUrlrecord component.- Returns:
- the value of the
styleUrlrecord component
-
bounds
Returns the value of theboundsrecord component.- Returns:
- the value of the
boundsrecord component
-
minZoom
public double minZoom()Returns the value of theminZoomrecord component.- Returns:
- the value of the
minZoomrecord component
-
maxZoom
public double maxZoom()Returns the value of themaxZoomrecord component.- Returns:
- the value of the
maxZoomrecord component
-
pixelRatio
public float pixelRatio()Returns the value of thepixelRatiorecord component.- Returns:
- the value of the
pixelRatiorecord component
-
includeIdeographs
public boolean includeIdeographs()Returns the value of theincludeIdeographsrecord component.- Returns:
- the value of the
includeIdeographsrecord component
-