MapExtend

open class MapExtend : MPModelBase

Author

Daniel Nielsen - Copyright © 2017 MapsPeople A/S. All rights reserved.

Constructors

Link copied to clipboard
open fun MapExtend(@NonNull latLngBounds: LatLngBounds)
Link copied to clipboard
open fun MapExtend(@NonNull southwest: LatLng, @NonNull northeast: LatLng)
Link copied to clipboard
open fun MapExtend(    south: Double,     west: Double,     north: Double,     east: Double)

Functions

Link copied to clipboard
open fun area(): Double
Link copied to clipboard
open fun isInside(@NonNull pos: LatLng): Boolean
open fun isInside(@NonNull location: MPLocation): Boolean
open fun isInside(@NonNull pos: Point): Boolean
Link copied to clipboard
@NonNull
open fun toLatLngBounds(): LatLngBounds
Link copied to clipboard
@NonNull
open fun toUrlValue(): String
Link copied to clipboard
open fun update(@NonNull latLngBounds: LatLngBounds)
Updates this MapExtend to the given LatLngBounds values
open fun update(@NonNull southwest: LatLng, @NonNull northeast: LatLng)
Updates this MapExtend to the given values

Properties

Link copied to clipboard
open val east: Double
Link copied to clipboard
open val north: Double
Link copied to clipboard
open val south: Double
Link copied to clipboard
open val west: Double