first version of in-app layer chooser

This commit is contained in:
Philipp Schaefer
2013-05-19 17:14:39 +02:00
parent 9a30c13413
commit 7f723cd559
5 changed files with 129 additions and 0 deletions

View File

@ -261,6 +261,9 @@ public class IITC_Mobile extends Activity {
case R.id.toggle_fullscreen :
toggleFullscreen();
return true;
case R.id.layer_chooser:
iitc_view.loadUrl("javascript: window.layerChooser.getLayers()");
return true;
// get the users current location and focus it on map
case R.id.locate :
iitc_view.loadUrl("javascript: window.show('map');");