GKLayerHelper

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getNameByCoord(latitude: Angle, longitude: Angle, type: String = GRATICULE_GK_1_000_000, previousScaleName: String = ""): String
Link copied to clipboard
fun getZone(longitude: Angle): Int

Get zone number by Gauss-Kruger longitude

Link copied to clipboard
fun intersect(x1: Double, y1: Double, x2: Double, y2: Double, x3: Double, y3: Double, x4: Double, y4: Double): GKCoord?

The method returns coordinates of intersection lines. The method doesn't check that the lines have an intersection and will work incorrectly if the intersection is absent.