diff --git a/android/src/ti/map/TiUIMapView.java b/android/src/ti/map/TiUIMapView.java index c5806f65..02e90745 100644 --- a/android/src/ti/map/TiUIMapView.java +++ b/android/src/ti/map/TiUIMapView.java @@ -1455,7 +1455,7 @@ public void loadKml(KrollDict args) TiBlob file = TiConvert.toBlob(args.get("file")); try { KmlLayer layer = - new KmlLayer(map, file.getInputStream(), TiApplication.getInstance().getApplicationContext()); + new KmlLayer(map, file.getInputStream(), TiApplication.getInstance().getApplicationContext()); layer.addLayerToMap(); } catch (Exception ex) { Log.e(TAG, "Error: " + ex.getMessage());