Skip to content

Commit

Permalink
Support long press to add points (#2976)
Browse files Browse the repository at this point in the history
  • Loading branch information
lognaturel authored Mar 29, 2019
1 parent 91af293 commit 1375747
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ public void initMap(MapFragment newMapFragment) {
}

map.setClickListener(this::onClick);
// Also allow long press to place point to match prior versions
map.setLongPressListener(this::onClick);
map.setGpsLocationEnabled(true);
map.setGpsLocationListener(this::onGpsLocation);
if (restoredMapCenter != null && restoredMapZoom != null) {
Expand Down

0 comments on commit 1375747

Please sign in to comment.