Navigation Menu

Skip to content

Commit

Permalink
Add comment about ugly typecast
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Mar 6, 2013
1 parent 671ee79 commit c9cce57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/epsg-4326.js
Expand Up @@ -27,6 +27,7 @@ var layers = new ol.Collection([
var map = new ol.Map({
controls: ol.control.defaults({
scaleLine: true,
// FIXME The typecast here is only needed if the example is compiled
scaleLineOptions: /** @type {ol.control.ScaleLineOptions} */ ({
units: ol.control.ScaleLineUnits.DEGREES
})
Expand Down

0 comments on commit c9cce57

Please sign in to comment.