Opened 14 years ago

Closed 14 years ago

#151 closed enhancement (fixed)

InitialView polygon and line highlight and keep selection

Reported by: adube Owned by: adube
Priority: minor Milestone:
Component: widgets Version:
Keywords: Cc:

Description

currently

When having no vector layer for a related resource using the initialview widget and that layer has polygon or line geometry, it draws an '+' instead of highlighting the feature.

Also, whenever you click on the map, the feature always gets unhighlighted.

Finally, have an alternative way of unhighlighting the features. This could be done externally (not by the widget itself) by an other widget that would have the purpose of "unselecting all features" in all vector layers on the map.

to do

  • Create polygons or lines for highlight purpose when needed instead of the '+' (cross).
  • Have a new option to enable/disable the feature unhighlighting on map click (enabled by default)
  • Listen to the "custom" map event of the new "unselectAll" widget (#150) to destroy the features created for highlight purpose.

Attachments (2)

patch-geoprisma-151-r888-A0.diff (22.2 KB ) - added by adube 14 years ago.
Patch fixing all the "todo list" tasks mentioned in the description + multigeom support
patch-geoprisma-151-r889-A1.diff (22.5 KB ) - added by adube 14 years ago.
"cities" were added to the wms layer in the sample

Download all attachments as: .zip

Change History (5)

comment:1 by adube, 14 years ago

Owner: set to adube
Status: newassigned

comment:2 by adube, 14 years ago

NOTE : requires the patch in #150 in order to work.

by adube, 14 years ago

Patch fixing all the "todo list" tasks mentioned in the description + multigeom support

by adube, 14 years ago

"cities" were added to the wms layer in the sample

comment:3 by adube, 14 years ago

Resolution: fixed
Status: assignedclosed

r891, featuring everything mentioned in the "todo" list in the description above.

Note: See TracTickets for help on using tickets.