Files
openfoodnetwork/app/views/map/index.html.haml
Will Marshall c09ffa832c Fixing gmaps
2014-06-06 14:04:47 +10:00

10 lines
384 B
Plaintext

= inject_json "enterprisesForMap" , "enterprises_for_map", collection: @enterprises
.ofn-map-container{"fill-vertical" => true}
%map{"ng-controller" => "MapCtrl"}
%google-map{center: "map.center", zoom: "map.zoom", styles: "map.styles", draggable: "true"}
%markers{models: "OfnMap.enterprises", fit: "true",
coords: "'self'", icon: "'icon'", click: "'reveal'"}