MKergall/osmbonuspack

How to replace infowindow

KatharosMelancho opened this issue · 1 comments

How to replace infowindow or bubble for layers after kml import?

KmlDocument Forest_Boundary_arhangelsk; //Общий слой, подложка для карты Архангельска Forest_Boundary_arhangelsk = new KmlDocument(); Forest_Boundary_arhangelsk.parseKMLStream(getResources().openRawResource(R.raw.forest_boundary_arhangelsk), null); FolderOverlay kmlOverlay_forest_boundary_arhangelsk = (FolderOverlay)Forest_Boundary_arhangelsk.mKmlRoot.buildOverlay(mapView, null, null,Forest_Boundary_arhangelsk); mapView.getOverlays().add(1,kmlOverlay_forest_boundary_arhangelsk);