Untitled

mail@pastecode.io avatarunknown
kotlin
a month ago
282 B
2
Indexable
Never
  val kmlDocument = KmlDocument()
            kmlDocument.parseGeoJSON(downloadedFile)
            val myOverLay = kmlDocument.mKmlRoot.buildOverlay(map, null, null, kmlDocument
            ) as FolderOverlay
            map.overlays.add(myOverLay)
            map.invalidate()