Changeset 1168

Show
Ignore:
Timestamp:
06/30/09 00:52:41 (4 years ago)
Author:
tschaub
Message:

OpenLayers will append the default stylesheet if theme is not set to null and if a stylesheet with the same path as the default has not been included in the standard way. If we want to add a stylesheet (via link) that has a different path than the ol default, we have to explicitly set theme to null when creating a new map.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • apps/opengeo/geoexplorer/trunk/src/script/app/GeoExplorer.js

    r1165 r1168  
    267267        // TODO: check this.initialConfig.map for any map options 
    268268        this.map = new OpenLayers.Map({ 
     269            theme: null, 
    269270            allOverlays: true, 
    270271            controls: [new OpenLayers.Control.PanPanel(),