Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
505 B
3
Indexable
Never
  val kmlDocument = KmlDocument()
             kmlDocument.parseGeoJSON(downloadedFile)
             val fileName = Uri.parse(geoJsonUrl).lastPathSegment ?: "file"
             val geoJsonString = geoJsonFileToString(fileName)

             val myOverLay = kmlDocument.mKmlRoot.buildOverlay(map, null, null, kmlDocument) as FolderOverlay

             for (overlayItem in folderOverlay.items) {
                 if (overlayItem is Polygon) {
                  
                 }
             }
Leave a Comment