Dan, On 18 September 2010 12:01, ChiefDan <[email protected]> wrote:
> In your addKmLLayer function, your selectControl variable is not declared > as > a "var" so I think(I am not JS expert though) that makes the variable > global. So perhaps the one for the power layer is getting overwritten when > you add the food layer. Try changing the line to: > var selectControl = new ...... > > Thanks, well spotted. I've made that change but it hasn't fixed the bug in Firefox. Best, Tom -- http://tom.acrewoods.net http://twitter.com/tom_chance
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
