Open fbuchinger opened 11 years ago
Sorry for the late response, this was well hidden by gmail's automatic filters for some reason.
At this point in time those don't do much of anything, however the idea was that they would retain the map and layer "states". This way other directives or controllers would be able to have a dependency on the service, rather than a more tightly coupled or hard-coded link to the actual map directive instance.
As you might be able to tell, I have not been able to give this project the love it deserves. I'm hoping I will be able to carve more time out for it soon.
Hi Matt,
azimuthjs is a really nice integration example of OpenLayers and angular.js. Being an angular.js novice, i tried to grasp your code and understood most of it. Only the purpose of
az.services.layers
andaz.services.map
isn't clear to me. You are doing all the OpenLayers/Leaflet init in the azimuth directives, why the need for separate services?kind regards,
Franz