Ask on the ol3-dev Google group instead.

Best regards,
Bart

Bart van den Eijnden
Front End Software Engineer | Boundless <http://boundlessgeo.com/>
[email protected] <mailto:[email protected]>
1-877-673-6436 <tel:917-460-7207>
@boundlessgeo <http://twitter.com/boundlessgeo/>

 <http://boundlessgeo.com/>

> On 28 May 2015, at 15:38, Justin Leniger <[email protected]> wrote:
> 
> Hello,
> 
> I keep running into an inefficiency and it results from the different 
> methodologies used by AngularJS and OpenLayers.
> 
> OpenLayers has a very object oriented structure, with getters and setters.
> 
> AngularJS tends to prefer primitives and data-binding.
> 
> 
> 
> It would be nice to be able to, for example, use ng-model="myLayer.visible" 
> to 2 way bind some OpenLayers properties to an Angular control, however, 
> OpenLayers hides member variables and prefers getters and setters.
> 
> Is there any best practice for dealing with this, or perhaps some sort of 
> wrapper I can create to allow that data-binding again?
> 
> 
> 
> Thanks!
> 
> - Justin
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to