[iitcm] push layer changes to Android instead of relying on MapSettings to poll them
This commit is contained in:
@ -144,7 +144,6 @@ public class IITC_MapSettings implements OnItemSelectedListener, OnItemClickList
|
||||
|
||||
public void onBootFinished() {
|
||||
mLoading = false;
|
||||
updateLayers();
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -279,10 +278,4 @@ public class IITC_MapSettings implements OnItemSelectedListener, OnItemClickList
|
||||
}
|
||||
mOverlayLayers.notifyDataSetChanged();
|
||||
}
|
||||
|
||||
public void updateLayers() {
|
||||
if (!mLoading) {
|
||||
mIitc.getWebView().loadUrl("javascript: window.layerChooser.getLayers()");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user