Permalink
Browse files

Add comment about ugly typecast

  • Loading branch information...
1 parent 671ee79 commit c9cce578952fb73691d242751a4ea9df1b57f4ae @twpayne committed Mar 6, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 examples/epsg-4326.js
View
@@ -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
})

0 comments on commit c9cce57

Please sign in to comment.