[OpenLayers-Dev] Canvas in FireFox 2.0.0.1

Dipl.-Inf.(FH) Carsten Eider eider at fh-bingen.de
Mon Jan 29 07:53:43 EST 2007


Hi

i am working on a meshup between openlayers and firefox-xforms.
Within my Xforms-part i can trigger openlayers to zoom to a specified bbox.
This works fine if i am only using wms-layers.

If i try to add a canvas.layers, nothing works any more.
Instantiating a llayer.canvas works.
But trying to acces a method like canvas.clearCanvas() results in an error

Error: this.canvas has no properties
Source: http://www.openlayers.org/api/OpenLayers.js
Line: 330

in my opinion it is the the command

this.canvas.getContext("2d");

Any suggestions why it doesn't work.
We have examples without xforms where it works fine ?

-- 

Mit freundlichen Grüßen / Yours faithfully
Carsten Eider

Dipl. Inf. (FH)

Kompetenzzentrum für Innovative Informationssysteme

c/o Fachhochschhule Bingen / University of applied sciences Bingen

Berlinstraße 109
55411 Bingen

Tel: +49 (0) 6721 / 409-179
Fax: +49 (0) 6721 / 409-158
email: eider at fh-bingen.de
Internet: iis.fh-bingen.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eider.vcf
Type: text/x-vcard
Size: 372 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20070129/42ac37ae/eider.vcf


More information about the Dev mailing list