[OpenLayers-Users] VERY strange behaviour = bug?

Barend Köbben kobben at itc.nl
Thu Nov 15 03:59:11 EST 2007


Thanks all for rapidly answering that one. This proved very useful in explaining the students I am currently teaching Mapserver + OL to see the benefits of an active User Community!
 
-- 
Barend Köbben 
International Institute for Geo-information Sciences and  Earth Observation (ITC) 
PO Box 6, 7500AA Enschede (The Netherlands) 
ph: +31-(0)534874253; mobile: +31-(0)622344955

________________________________

From: Huub Fleuren [mailto:huub.fleuren at geodan.nl]
Sent: Wed 11/14/2007 18:50
To: Barend Köbben
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] VERY strange behaviour = bug?



Barend,

in Maps.js

    /**
     * APIProperty: theme
     * {String} Relative path to a CSS file from which to load theme styles.
     *          Specify null in the map options (e.g. {theme: null}) if you
     *          want to get cascading style declarations - by putting
links to
     *          stylesheets or style declarations directly in your page.
     */

normally you do not specify this option at all, so the
theme/default/styles.css is always used
but you could add styles with a <link /> anyhow

Regards, Huub

> [version with working links on: http://geoserver.itc.nl/mapserver.OpenLayersBug.html]
>
>
> STRANGE BUG?
>
>
> when loading Openlayers 2.5 from a location other than the openlayers.org/api site, the OverviewMap's default location suddenly is upperleft iso. lower-right...
>
> *     Load map with openlayers.js script coming from openlayers.org/api hosted site <http://geoserver.itc.nl/mapserver/OpenLayersBugHosted.html> ... => control is in lower-right
> *     Load map with openlayers.js script coming from this site <http://geoserver.itc.nl/mapserver/OpenLayersBugLocal.html> ... => control is in upper-left, overlapping the zoom/pan tools
>      
>
> Even stranger, it worked OK in OpenLayers 2.4 <http://geoserver.itc.nl/mapserver/OpenLayersBugLocal24.html> ...
>
> I'd consider this a bug, or is it something else...?
>  






More information about the Users mailing list