plot-api / jetbrains.letsPlot / coord_map

coord_map

fun coord_map(xlim: Pair<Number?, Number?>? = null, ylim: Pair<Number?, Number?>? = null): OptionsMap

Projects a portion of the earth, which is approximately spherical, onto a flat 2D plane. Map projections do not, in general, preserve straight lines, so this requires considerable computation.

Parameters

xlim - A pair of numbers

ylim - A pair of numbers Limits for the x and y axes.