Adjust shared map partial

This commit is contained in:
Matt-Yorkley
2020-05-31 19:21:20 +02:00
parent 94b85fb9e3
commit 8e57f9d929

View File

@@ -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