Maslosoft Binder Documentation
Knockout JS tracker and binding handlers with coffee and sugar
Google Maps
Development version of google maps binding handler. NOTE: Requires API key.
Relevant code used in examples:
<div data-bind="googlemap: binder.model.map"> </div> <script> window.onload = (function(){ var cfg = { lat: 10, lng: 10, zoom: 10 }; binder.model.map = new Maslosoft.Koe.Map(cfg); ko.applyBindings({model: binder.model}, document.getElementById('ko-binder')); }); </script>