forked from pka/map_layers
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
In map.rb there is the line
@options = {:theme => false}.merge(options)This removes the default theming from openlayers, and causes various controls (permalink, attribution) to pile up in the top-left of the map. Arguably this is a useful thing when you are trying to customise the look of OpenLayers, but you then need to supply the olControlAttribution etc style declarations yourself.
Either
- This code should be removed, to allow the default OL theme to apply by default, or
- This should be kept, and documented that you can revert to normal with something like
theme: "/openlayers/theme/default/style.css", or - This should be kept, and clearly documented that you will need to make your own style declarations covering the same range of things as is in style.css
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels