Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
6f144887
Commit
6f144887
authored
Dec 01, 2018
by
Evan W. Patton
Committed by
Susan Rati Lane
Dec 07, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix handling of Map.ZoomLevel when animating changes
Change-Id: If652e6759e95e47884a1324f8dfd203d8b15e65a
parent
ac7c0e4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
appinventor/components/src/com/google/appinventor/components/runtime/util/NativeOpenStreetMapController.java
...omponents/runtime/util/NativeOpenStreetMapController.java
+3
-1
No files found.
appinventor/components/src/com/google/appinventor/components/runtime/util/NativeOpenStreetMapController.java
View file @
6f144887
...
@@ -329,7 +329,9 @@ class NativeOpenStreetMapController implements MapController, MapListener {
...
@@ -329,7 +329,9 @@ class NativeOpenStreetMapController implements MapController, MapListener {
@Override
@Override
public
int
getZoom
()
{
public
int
getZoom
()
{
return
(
int
)
view
.
getZoomLevel
(
false
);
// We pass pending as true here so that when a user sets ZoomLevel
// and then reads it back it should be reflected.
return
(
int
)
view
.
getZoomLevel
(
true
);
}
}
@Override
@Override
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment