Basic but hacky way to get events out of map

This commit is contained in:
Will Marshall
2014-06-05 15:08:50 +10:00
parent 476eeef69d
commit 843ea9faef
3 changed files with 19 additions and 6 deletions

View File

@@ -1,7 +1,10 @@
Darkswarm.controller "MapCtrl", ($scope, MapConfiguration)->
Darkswarm.controller "MapCtrl", ($scope, MapConfiguration, OfnMap, Marker)->
$scope.OfnMap = OfnMap
console.log Marker
window.Marker = Marker
$scope.map =
center:
latitude: 45
longitude: -73
latitude: -37.775757
longitude: 144.743663
zoom: 8
styles: MapConfiguration.options