Fix map link parsing
This commit is contained in:
parent
39bff12057
commit
29b7136575
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ public class IntentHelper {
|
|||
String zoom = data.getQueryParameter("z");
|
||||
int z = settings.getLastKnownMapZoom();
|
||||
if (zoom != null) {
|
||||
z = Integer.parseInt(zoom);
|
||||
z = (int) Double.parseDouble(zoom);
|
||||
}
|
||||
settings.setMapLocationToShow(lt, ln, z, new PointDescription(lt, ln));
|
||||
} catch (NumberFormatException e) {
|
||||
|
|
Loading…
Reference in a new issue