Discussion:
any openlayers/js devs here?
Robin Paulson
2011-01-15 05:41:23 UTC
Permalink
i recently put together a test site for openstreetmap new zealand, but
have got what i think is a rather dumb, simple bug in the javascript
used to display the map

there are 4 maps one can choose to view (see the '+' at top-right)
when using the site, but one of them displays all the time, over the
top of the others.

if there's anyone here with js/openlayers experience, could you take a look?
http://bumblepuppy.org/osm_nz/index.html
--
robin

http://tangleball.org.nz/ - Auckland's Creative Space
http://bumblepuppy.org/blog/

_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
Shannon Skinner
2011-01-16 23:22:37 UTC
Permalink
I'm not sure if you have fixed this, but FWIW, it seems to work "okay-ish"
in Chrome: 4 overlays are shown, but just not the first time you click on
the options.

In IE8, it's very sluggish, and I was intermittently getting an error pop
up:

/osm_nz/javascript/site.js Line 35, Char 2
_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
Robin Paulson
2011-01-18 01:48:25 UTC
Permalink
Post by Shannon Skinner
I'm not sure if you have fixed this, but FWIW, it seems to work "okay-ish"
in Chrome: 4 overlays are shown, but just not the first time you click on
the options.
options? you mean the little '+' at top-right?
Post by Shannon Skinner
In IE8, it's very sluggish, and I was intermittently getting an error pop
/osm_nz/javascript/site.js Line 35, Char 2
intriguing, that's part of a specific hack for ie:
if(/MSIE/.test(navigator.userAgent)) {

$('sidebar').style.height = (document.documentElement.clientHeight - 106)+"px";
--
robin

http://tangleball.org.nz/ - Auckland's Creative Space
http://bumblepuppy.org/blog/

_______________________________________________
NZLUG mailing list ***@linux.net.nz
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
Loading...