- added long click support to disable/enabled all layers

- some refactoring
This commit is contained in:
Philipp Schaefer
2013-08-04 00:43:37 +02:00
parent 8563498ded
commit 756dabacfa
9 changed files with 293 additions and 263 deletions

View File

@ -80,7 +80,8 @@ public class ShareActivity extends FragmentActivity implements ActionBar.TabList
String gMapsUri;
if (decFormat.getDecimalSeparator() == '.')
try {
gMapsUri = "http://maps.google.com/maps?q=loc:" + mLl + "%20(" + URLEncoder.encode(mTitle, "UTF-8") + ")&z=" + mZoom;
gMapsUri = "http://maps.google.com/maps?q=loc:" + mLl +
"%20(" + URLEncoder.encode(mTitle, "UTF-8") + ")&z=" + mZoom;
} catch (UnsupportedEncodingException e) {
gMapsUri = "http://maps.google.com/maps?ll=" + mLl + "&z=" + mZoom;
e.printStackTrace();