Closed GoogleCodeExporter closed 9 years ago
It seems to me excanvas is not loaded properly.
After lodaing the page try to enter this into the browser's address bar:
javascript:alert(typeof window.CanvasRenderingContext2D);
and then
javascript:alert(typeof G_vmlCanvasManager);
You should get two alert boxes. In normal conditions first should say
"function",
second should say "object". What is the result on your side?
Original comment by adam.mas...@gmail.com
on 23 Feb 2008 at 4:02
Hello Adam, thank you for replying.
I tried your commands and the alert show me the right types: function then
object.
I tried to draw a circle using the latest Excanvas library available, without
success. The only library with which I was able to draw circles on IE 6 is this
one:
http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm
I attache two screenshots of what I obtain:
* rectangle.png shows the creation of a rectangle area
* circle.png shows the creation of... a circle area
As you can see, the second one is simply made of a grey box, no circle is
visible.
This is also the case for the creation of polygon areas.
Original comment by fbu...@gmail.com
on 25 Feb 2008 at 9:04
Attachments:
Hi Francois,
Still, it seems like there is problem with excanvas drawing. Rectangles will
always
work, because they dont draw anything on the canvas, just resize them. The
library of
walterzorn is working because it doesnt use canvas, it inserts one million div
into
your document instead.
So what you can do:
1. If you have access to another normal IE6, please try to test over there.
Maybe its
some problem with your machine.
2. If you have some knowledge of javascript you can try to debug the function:
imgmap.prototype._repaint
, look for ctx = area.getContext("2d"); and see if ctx has a value.
Original comment by adam.mas...@gmail.com
on 25 Feb 2008 at 10:57
Hi Adam,
I'm using IE6 on WinXP SP2, and when I have a Perl script creating a page with
image
and coordinates already loaded, and a previously made circle or polygon has been
created, they don't show up, only the outer rectangle. It works fine in Firefox
though. When I type in the javascript commands above, with this page loded, it
says
'undefined' for both. It would be nice it this worked in IE6 also.
Thank you,
Jan
Original comment by j...@gmx.net
on 29 Feb 2008 at 12:07
@Francois
Please download excanvas from
http://sourceforge.net/project/showfiles.php?group_id=163391
and check if the examples are working in your IE.
@Jan
This seems familier to me, didnt we solve this already?:)
Send me your perl file if you can. Adam
Original comment by adam.mas...@gmail.com
on 12 Mar 2008 at 11:27
Francois,
any news on this?
Original comment by adam.mas...@gmail.com
on 9 Apr 2008 at 11:34
Original comment by adam.mas...@gmail.com
on 31 Aug 2008 at 6:16
Original issue reported on code.google.com by
fbu...@gmail.com
on 23 Feb 2008 at 1:49