[OpenLayers-Users] Strange return values for addLayer function in Map.js

Dave Potts dave.potts at pinan.co.uk
Sat Nov 19 16:15:40 EST 2011


Hi List,
In the Openlayers 2.11 release the function addLayer returns false on line
963 , but at the end of function, line 999 it returns a void.

How can I tell if the call to addLayer has been successful ?

The same problem occurs with the function destroy values of false and void
are returned.

regards

Dave

-




More information about the Users mailing list