[OpenLayers-Users] [BUG] Openlayers in Firefox as XHTML
Dipl.-Inf.(FH) Carsten Eider
eider at fh-bingen.de
Mon Jan 29 09:29:38 EST 2007
Hi guys,
I am working on a meshup of Openlayers and XForms embedded into FireFox
2.0.0.1
In oder to be able to use XForms in Firefox, the uses file has to have
the extension ".xhtml".
If I do so, OpenLayers.Layers.Canvas doesn't work any more.
The usage of this object results in
Error: this.canvas.getContext is not a function
Source http://www.openlayers.org/api/OpenLayers.js
Line: 330
Proof of bug:
* Use http://www.openlayers.org/dev/examples/canvas.html
* Rename it to canvas.xhtml
* Remove all stuff concerning google maps
* remove the <!-- .. --> around your javascript
* rename to X
* make it valid xhtml
or send me a Mail and I will send you the file.
You will see, Canvas will not work any more.
As far as I debugged the main problem is "..this.canvas.getContext("2d").."
Any solutions available ?
THX Carsten
--
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 --------------
An HTML attachment was scrubbed...
URL: http://openlayers.org/pipermail/users/attachments/20070129/865aea0a/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eider.vcf
Type: text/x-vcard
Size: 372 bytes
Desc: not available
Url : http://openlayers.org/pipermail/users/attachments/20070129/865aea0a/attachment.vcf
More information about the Users
mailing list