Package-level declarations

Types

Link copied to clipboard
object Constants
Link copied to clipboard

OmhButtCap is a class that represents a butt cap for a polyline on a map. A butt cap is a cap that is squared off exactly at the start or end vertex of a polyline. This class extends the OmhCap interface.

Link copied to clipboard

Class representing a pair of latitude and longitude coordinates. This class doesn't require to implement restrictions related with the latitude and longitude because each time the interfaces are implemented they will parse to their own Coordinate model.

Link copied to clipboard
class OmhCustomCap(val bitmap: Bitmap, val refWidth: Float?) : OmhCap

OmhCustomCap is a class that represents a custom cap for a polyline on a map. A custom cap is a cap that uses a custom bitmap image. This class extends the OmhCap interface.

Link copied to clipboard
class OmhDash(val length: Float) : OmhPatternItem

OmhDash is a class that represents a dash pattern item on a map. A dash pattern item can be used to customize the appearance of polylines and other map elements. This class extends the OmhPatternItem interface.

Link copied to clipboard

OmhDot is a class that represents a dot pattern item on a map. A dot pattern item can be used to customize the appearance of polylines and other map elements. This class implements the OmhPatternItem interface.

Link copied to clipboard
class OmhGap(val length: Float) : OmhPatternItem

OmhGap is a class that represents a gap pattern item on a map. A gap pattern item can be used to customize the appearance of polylines and other map elements. This class implements the OmhPatternItem interface.

Link copied to clipboard

OmhJointType is an object that represents the joint type of a polyline on a map. The joint type can be one of the following:

Link copied to clipboard
sealed class OmhMapException(val statusCode: Int) : Exception
Link copied to clipboard
Link copied to clipboard
data class OmhMarkerOptions(var position: OmhCoordinate = OmhCoordinate(), var title: String? = null, var clickable: Boolean = true, var draggable: Boolean = false, var anchor: Pair<Float, Float> = Pair(Constants.ANCHOR_CENTER, Constants.ANCHOR_CENTER), var infoWindowAnchor: Pair<Float, Float> = Pair( Constants.ANCHOR_CENTER, Constants.ANCHOR_TOP ), var alpha: Float = Constants.DEFAULT_ALPHA, var snippet: String? = null, var isVisible: Boolean = Constants.DEFAULT_IS_VISIBLE, var isFlat: Boolean = Constants.DEFAULT_IS_FLAT, var rotation: Float = Constants.DEFAULT_ROTATION, @ColorInt var backgroundColor: Int? = null, var icon: Drawable? = null, var zIndex: Float? = null) : Parcelable

Defines OmhMarkerOptions for a marker. You can customize marker appearance by changing its properties.

Link copied to clipboard
class OmhPolygonOptions(var outline: List<OmhCoordinate> = listOf(), var clickable: Boolean? = null, var fillColor: Int? = null, var holes: List<List<OmhCoordinate>>? = null, var isVisible: Boolean? = null, var strokeColor: Int? = null, var strokeJointType: Int? = null, var strokePattern: List<OmhPatternItem>? = null, var strokeWidth: Float? = null, var zIndex: Float? = null) : Parcelable

OmhPolygonOptions is a class that represents the options for a polygon on a map. A polygon is a shape with multiple edges and fill on a map. You can customize the appearance of the polygon by changing its properties.

Link copied to clipboard
class OmhPolylineOptions(var points: List<OmhCoordinate> = listOf(), var clickable: Boolean? = null, var color: Int? = null, var width: Float? = null, var isVisible: Boolean? = null, var zIndex: Float? = null, var jointType: Int? = null, var pattern: List<OmhPatternItem>? = null, var cap: OmhCap? = null, var startCap: OmhCap? = null, var endCap: OmhCap? = null, var spans: List<OmhStyleSpan>? = null) : Parcelable

OmhPolylineOptions is a class that represents the options for a polyline on a map. A polyline is a series of connected line segments that can form any shape you want on a map. You can customize the appearance of the polyline by changing its color, width, pattern, joint type, and caps.

Link copied to clipboard

OmhRoundCap is a class that represents a round cap on a map. A round cap can be used to customize the appearance of the ends of polylines. This class implements the OmhCap interface.

Link copied to clipboard

OmhSquareCap is a class that represents a square cap on a map. A square cap can be used to customize the appearance of the ends of polylines. This class implements the OmhCap interface.

Link copied to clipboard
class OmhStyleSpanGradient(val fromColor: Int, val toColor: Int, val segments: Double? = null, val stamp: Bitmap? = null) : OmhStyleSpan, Parcelable

OmhStyleSpanGradient is a class that represents a gradient style span on a map. A style span can be used to customize the appearance of polylines. This class implements the OmhStyleSpan interface.

Link copied to clipboard
class OmhStyleSpanMonochromatic(val color: Int, val segments: Double? = null, val stamp: Bitmap? = null) : OmhStyleSpan, Parcelable

OmhStyleSpanMonochromatic is a class that represents a monochromatic style span on a map. A style span can be used to customize the appearance of polylines. This class implements the OmhStyleSpan interface.