Skip to content

Commit

Permalink
modify getHighlightedElements function
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoniecz committed Mar 30, 2022
1 parent 04aa863 commit 1d648e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class AddIsDefibrillatorIndoor : OsmFilterQuestType<Boolean>() {
override fun getTitle(tags: Map<String, String>) = R.string.quest_is_defibrillator_inside_title

override fun getHighlightedElements(element: Element, getMapData: () -> MapDataWithGeometry) =
getMapData().filter("nodes, ways with amenity = bicycle_parking")
getMapData().filter("nodes with emergency = defibrillator")

override fun createForm() = YesNoQuestAnswerFragment()

Expand Down

0 comments on commit 1d648e5

Please sign in to comment.