On Fri, Feb 3, 2012 at 3:14 AM, Antony Gelberg wrote:
> Package: libjs-openlayers-doc
>
> I installed this package today as the OL website was down. Sadly, the
> examples don't work in either chrome or firefox. Please look into
> this.
Looks like the examples try to source
../lib/OpenLayers.js
../theme/default/style.css
etc.
I take that ideally we would want a solution to work when browsing both of
file:///usr/share/doc/libjs-openlayers-doc/examples/
http://localhost/doc/libjs-openlayers-doc/examples/
One solution would be to have a symlink,
ln -s -T ../../javascript/openlayers/ /usr/share/doc/libjs-openlayers-docs/lib
ln -s -T ../../javascript/openlayers/theme theme
I don't know if this would violate any policies though... otherwise if
we patch the actual example files with different links to the OL.js
file we can't support both file:// and http://localhost
I'm happy to make/test a patch if this approach is okay, and no one
else wants to do it.
___
Pkg-osm-maint mailing list
Pkg-osm-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-osm-maint