Category : double

Im using Mapbox to Develop a mapping a app. The method I’m using uses a Point(Double, Double) Getting Type Mismatch Required: Double Found: Double? val lat = locationComponent.lastKnownLocation?.latitude?.toDouble() val lng = locationComponent.lastKnownLocation?.latitude?.toDouble() origin = Point.fromLngLat(lat, lng) Source: Android..

Read more