toggle menu
maps-kt
0.3.1-dev
common
switch theme
search in API
maps-kt-compose
/
space.kscience.maps.compose
/
MapCanvasState
Map
Canvas
State
class
MapCanvasState
:
CanvasState
<
Gmc
>
Members
Types
Companion
Link copied to clipboard
object
Companion
Properties
canvas
Size
Link copied to clipboard
var
canvasSize
:
DpSize
center
Coordinates
Link copied to clipboard
val
centerCoordinates
:
WebMercatorCoordinates
int
Zoom
Link copied to clipboard
val
intZoom
:
Int
map
Tile
Provider
Link copied to clipboard
val
mapTileProvider
:
MapTileProvider
select
Rect
Link copied to clipboard
var
selectRect
:
DpRect
?
space
Link copied to clipboard
open
override
val
space
:
CoordinateSpace
<
Gmc
>
tile
Scale
Link copied to clipboard
val
tileScale
:
Float
view
Config
Link copied to clipboard
val
viewConfig
:
ViewConfig
<
Gmc
>
view
Point
Link copied to clipboard
var
viewPoint
:
ViewPoint
<
Gmc
>
zoom
Link copied to clipboard
val
zoom
:
Float
Functions
compute
View
Point
Link copied to clipboard
open
override
fun
computeViewPoint
(
rectangle
:
Rectangle
<
Gmc
>
)
:
ViewPoint
<
Gmc
>
move
By
Link copied to clipboard
open
override
fun
ViewPoint
<
Gmc
>
.
moveBy
(
x
:
Dp
,
y
:
Dp
)
:
ViewPoint
<
Gmc
>
to
Coordinates
Link copied to clipboard
open
override
fun
DpOffset
.
toCoordinates
(
)
:
Gmc
fun
toCoordinates
(
offset
:
Offset
,
density
:
Density
)
:
Gmc
to
Dp
Offset
Link copied to clipboard
open
override
fun
Gmc
.
toDpOffset
(
)
:
DpOffset
to
Dp
Rect
Link copied to clipboard
open
override
fun
Rectangle
<
Gmc
>
.
toDpRect
(
)
:
DpRect
to
Offset
Link copied to clipboard
fun
toOffset
(
coordinates
:
Gmc
,
density
:
Density
)
:
Offset