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
abf24dcf
Commit
abf24dcf
authored
Sep 29, 2020
by
Evan W. Patton
Committed by
Jeffrey Schiller
Oct 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add copyright overlay to Map
Change-Id: I2868f68705f5dcea167782bcad9d4f2161793f42
parent
cc121a48
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
appinventor/components/src/com/google/appinventor/components/runtime/util/NativeOpenStreetMapController.java
...omponents/runtime/util/NativeOpenStreetMapController.java
+2
-0
No files found.
appinventor/components/src/com/google/appinventor/components/runtime/util/NativeOpenStreetMapController.java
View file @
abf24dcf
...
...
@@ -67,6 +67,7 @@ import org.osmdroid.util.BoundingBox;
import
org.osmdroid.util.GeoPoint
;
import
org.osmdroid.views.MapView
;
import
org.osmdroid.views.MapView.OnTapListener
;
import
org.osmdroid.views.overlay.CopyrightOverlay
;
import
org.osmdroid.views.overlay.Marker
;
import
org.osmdroid.views.overlay.Marker.OnMarkerClickListener
;
import
org.osmdroid.views.overlay.Marker.OnMarkerDragListener
;
...
...
@@ -296,6 +297,7 @@ class NativeOpenStreetMapController implements MapController, MapListener {
defaultInfoWindow
=
new
OverlayInfoWindow
(
view
);
view
.
setTilesScaledToDpi
(
true
);
view
.
setMapListener
(
this
);
view
.
getOverlayManager
().
add
(
new
CopyrightOverlay
(
form
));
view
.
getOverlayManager
().
add
(
touch
);
view
.
addOnTapListener
(
new
OnTapListener
()
{
@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