maschek / imgmap

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

When there are many areas, it is hard to define a new area due to overlapping canvases #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what browser/operating system?

Please provide any additional information below.

When creating many areas close to one another, canvases tend to overlap.
This makes it hard to click and define points for a shape. Is there anyway
around this issue? At the moment, I am resorting to moving shapes out of
the way, defining a new shape, then moving everything back to their
original positions.

Original issue reported on code.google.com by lil....@gmail.com on 19 Mar 2009 at 5:39

GoogleCodeExporter commented 9 years ago
Well, you mean really overlapping shapes, or just shapes closely adjacent to 
each other?

If they are just close, you can always use the zoom to have finer control, or
alternatively you can use the up/dn arrow keys in the coordinates inputbox, to
increase/decrease the given coordinate.

If you talk about really overlapping zones, and you have to have a starting 
point
which is already occupied by a shape, then yes, you have to move your shapes 
around.
I believe for most use cases this is not happening, so not having a separate
"clickandselect" and a separate "draw" mode or button speeds up those cases 
quite much.

On the other hand if you have your own implementation of imgmap, it is fairly 
easy to
switch off the behaviour of selecting an area when clicked, instead it needs to 
be
explicitly selected in the area list, but i think i will not make this change 
to the
online editor for the reasons stated above.

Let me know your opinion.
Adam

Original comment by adam.mas...@gmail.com on 20 Mar 2009 at 11:47

GoogleCodeExporter commented 9 years ago
Let's say I am defining a polygon shape closely adjacent to another polygon 
shape.
These two shapes do not overlap, but the canvas they sit on do overlap. If a 
point of
the 2nd polygon shape sits underneath the first polygon shape's canvas, I would 
have
to move the first polygon in order to define the point for the 2nd polygon. Is 
this
the only way to define shapes with overlapping canvases?

Original comment by lil....@gmail.com on 22 Mar 2009 at 5:23

GoogleCodeExporter commented 9 years ago
Ah yep, the polygons might have big empty areas with only the canvas. In this 
case i
am afraid you cannot do anything else at the moment.

Original comment by adam.mas...@gmail.com on 22 Mar 2009 at 9:45

GoogleCodeExporter commented 9 years ago
Yes whoever can update the site can add a option to each shape "display" 
therefore
hiding it until you need it again!

Original comment by lpashle...@googlemail.com on 4 May 2009 at 3:30