mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Adjust shared map partial
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
.map-container
|
||||
- if ContentConfig.open_street_map_enabled
|
||||
- if ContentConfig.open_street_map_enabled
|
||||
.map-container
|
||||
%ofn-open-street-map#open-street-map
|
||||
%div#open-street-map--search
|
||||
%input.autocomplete-input
|
||||
%ul.autocomplete-result-list
|
||||
- else
|
||||
|
||||
- else
|
||||
.map-container
|
||||
%map{"ng-controller" => "MapCtrl"}
|
||||
%ui-gmap-google-map{options: "map.additional_options", center: "map.center", zoom: "map.zoom",
|
||||
styles: "map.styles", draggable: "true"}
|
||||
@@ -13,5 +15,5 @@
|
||||
%ui-gmap-markers{models: "OfnMap.enterprises", fit: "true",
|
||||
coords: "'self'", icon: "'icon'", click: "'reveal'"}
|
||||
|
||||
.map-footer
|
||||
%a{:href => "http://www.openstreetmap.org/copyright"} © OpenStreetMap contributors
|
||||
.map-footer
|
||||
%a{:href => "http://www.openstreetmap.org/copyright"} © OpenStreetMap contributors
|
||||
|
||||
Reference in New Issue
Block a user