<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Ask on the ol3-dev Google group instead.<br class=""><div apple-content-edited="true" class="">

<div class=""><br class=""></div><div class="">Best regards,</div><div class="">Bart<br clear="all" class=""><div class=""><div dir="ltr" class=""><div class=""><br class=""></div><span style="font-family:arial;font-size:small" class="">Bart van den Eijnden</span><br style="font-family:arial;font-size:small" class=""><span style="font-family:arial;font-size:small" class="">Front End Software Engineer | <a href="http://boundlessgeo.com/" class="">Boundless</a></span><br style="font-family:arial;font-size:small" class="">

<a href="mailto:bartvde@boundlessgeo.com" target="_blank" style="color:rgb(17,85,204);font-family:arial;font-size:small" class="">bartvde@boundlessgeo.com</a><br style="font-family:arial;font-size:small" class=""><a href="tel:917-460-7207" value="+19174607207" target="_blank" style="color:rgb(17,85,204);font-family:arial;font-size:small" class="">1-877-673-6436</a><br style="font-family:arial;font-size:small" class="">

<a href="http://twitter.com/boundlessgeo/" style="color:rgb(17,85,204);font-family:arial;font-size:small" class="">@boundlessgeo</a><div class=""><br class=""><div class="gmail_extra" style="font-family:arial;font-size:small"><a href="http://boundlessgeo.com" class=""><img src="http://boundlessgeo.com/wp-content/uploads/files/boundless_sig.png" class=""></a><br class="">

</div></div></div></div>
</div></div>


<br class=""><div style=""><blockquote type="cite" class=""><div class="">On 28 May 2015, at 15:38, Justin Leniger <<a href="mailto:jtleniger@rothwellgroup.com" class="">jtleniger@rothwellgroup.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello,<div class=""><br class=""></div><div class="">I keep running into an inefficiency and it results from the different methodologies used by AngularJS and OpenLayers.</div><div class=""><br class=""></div><div class="">OpenLayers has a very object oriented structure, with getters and setters.</div><div class=""><br class=""></div><div class="">AngularJS tends to prefer primitives and data-binding.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">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.</div><div class=""><br class=""></div><div class="">Is there any best practice for dealing with this, or perhaps some sort of wrapper I can create to allow that data-binding again?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks!</div><div class=""><br class=""></div><div class="">- Justin</div></div>
_______________________________________________<br class="">Users mailing list<br class=""><a href="mailto:Users@lists.osgeo.org" class="">Users@lists.osgeo.org</a><br class="">http://lists.osgeo.org/mailman/listinfo/openlayers-users</div></blockquote></div><br class=""></body></html>