maschek / imgmap

Javascript based imagemap editor
https://www.maschek.hu/imagemap/
GNU General Public License v2.0
59 stars 33 forks source link

Circles and polygons not visible on IE 6 #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

What steps will reproduce the problem?
1. Open imgmap online demo
2. Try to create circles and polygon areas
3. Cry because the red circles or red lines are not being showed.

What is the expected output? What do you see instead?
Red circles or lines :)

What version of the product are you using? On what operating system?
I was on a PC under Windows XP SP2 and IE 6 (the real one, not Multiple IE
- it WORKS on Multiple IE/IE6). The target of my project is IE 6 and I can
not change anything to that.

Please provide any additional information below.
Rectangular zone work.

Original issue reported on code.google.com by fbu...@gmail.com on 23 Feb 2008 at 1:49

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
@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

GoogleCodeExporter commented 9 years ago
Francois,

any news on this?

Original comment by adam.mas...@gmail.com on 9 Apr 2008 at 11:34

GoogleCodeExporter commented 9 years ago

Original comment by adam.mas...@gmail.com on 31 Aug 2008 at 6:16