tombatossals / angular-openlayers-directive

AngularJS directive to embed an interact with maps managed by the OpenLayers library
http://tombatossals.github.io/angular-openlayers-directive/
MIT License
282 stars 183 forks source link

fix (olHelpers.js): update wrapX default setting... #331

Closed StevenHeinrich closed 7 years ago

StevenHeinrich commented 7 years ago

Original implementation completely missed the fact that the || default treats false the same as all 'falsey' values (meaning a value of false is the same as no value), making it impossible to turn off wrapX by setting it to false.

~ as reported by @thmitchell in a comment on #318