Merge branch 'master' into layerChooser

This commit is contained in:
hastarin 2013-05-08 23:20:30 +10:00
commit 2c4a83db8e

View File

@ -318,8 +318,7 @@ public class IITC_Mobile extends Activity {
// get the users current location and focus it on map // get the users current location and focus it on map
case R.id.locate : case R.id.locate :
iitc_view.loadUrl("javascript: window.show('map');"); iitc_view.loadUrl("javascript: window.show('map');");
iitc_view iitc_view.loadUrl("javascript: window.map.locate({setView : true, maxZoom: 15});");
.loadUrl("javascript: window.map.locate({setView : true, maxZoom: 13});");
actionBar.setTitle(getString(R.string.menu_map)); actionBar.setTitle(getString(R.string.menu_map));
return true; return true;
// start settings activity // start settings activity
@ -395,4 +394,4 @@ public class IITC_Mobile extends Activity {
} }
} }
} }
} }