Untitled

 avatar
unknown
plain_text
2 years ago
505 B
6
Indexable
  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) {
                  
                 }
             }
Editor is loading...
Leave a Comment