Opened 15 years ago
Closed 12 years ago
#1282 closed enhancement (fixed)
Enlarge the box in which symbols data and url are retrieved in ajaxmappane.templ
Reported by: | gabrimonfa | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | AJAX Viewer | Version: | 2.2.0 |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description
When complex symbols are used, it is not always obvious for users which is the symbol center. For this reason users sometimes complain that they are not able to select or click on symbols and this was usually due to very small cursor misplacement.
In order to ease symbols selection I propose to enlarge the box in which symbol url data is retrieved from 2x2 to 5x5 pixels. In this way symbols are easier to select without increasing much the probability to have more than one symbol inside the box.
Attachments (1)
Change History (4)
by , 15 years ago
Attachment: | ajaxmappane.templ.diff1 added |
---|
comment:1 by , 15 years ago
Instead of doing this, I think we should fix symbol selection so that if the cursor is over a part of the symbol, that it will be selected. One way to do this is to create a "display list" that is stored in the MapGuide session---the mouse moves could then do quick hit tests against the display list. Another way might be to use image maps that could be clicked (I doubt if these would be as accurate as display lists though)---and not sure how scalable it would be with thousands of features.
The reason we need a display list or image map is because the "stylized symbol" can be quite different from the features point geometry (e.g., the symbol can be quite big, or it could be offset from the point completely); so to restylize all geometries within in a layer on the fly to do a point selection would be way to compute intensive for the server. Also note that the same problems exist for lines which could also be offset or styled to be quite large.
comment:2 by , 14 years ago
Version: | 2.1.0 → 2.2.0 |
---|
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed r7138. Note we haven't actually changed the box size, but we have localized all references to a single variable that you can change to suit your liking.
enlarge the box from 2x2 to 5x5 pixels