Skip to content

Commit

Permalink
osm first
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Dec 26, 2024
1 parent 48324bd commit 85017f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/additionals/wiki_macros/gps_macro.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ module GpsMacro
end

links = {}
links[:gmap] = ['Gmap',
"https://maps.google.com/?q=#{lat},#{lon}&data=!3m1!1e3"]
links[:osm] = ['OSM',
"https://www.openstreetmap.org/?mlat=#{lat}&mlon=#{lon}#map=#{zoom}/#{lat}/#{lon}"]
links[:gmap] = ['Gmap',
"https://maps.google.com/?q=#{lat},#{lon}&data=!3m1!1e3"]
if AdditionalsConf.with_system_default 'GPS_MACRO_WITH_BAVARIA_ONLY', type: 'bool', default: false
bavaria_zoom = options[:zoom].presence || 12

Expand Down

0 comments on commit 85017f7

Please sign in to comment.