Files
openfoodnetwork/app/views/map/index.html.haml
2016-07-06 10:44:19 +10:00

16 lines
533 B
Plaintext

- content_for(:title) do
= t :label_map
= inject_enterprises
.map-container{"fill-vertical" => true}
%map{"ng-controller" => "MapCtrl"}
%google-map{options: "map.additional_options", center: "map.center", zoom: "map.zoom", styles: "map.styles", draggable: "true"}
%map-osm-tiles
%map-search
%markers{models: "OfnMap.enterprises", fit: "true",
coords: "'self'", icon: "'icon'", click: "'reveal'"}
.map-footer
%a{:href => "http://www.openstreetmap.org/copyright"} © OpenStreetMap contributors