Opened 12 years ago

Closed 12 years ago

#11 closed defect (fixed)

Possible to use line tool for point layer

Reported by: bfraser Owned by: jimk
Priority: minor Milestone:
Component: GeoMOOSE/JS Version: 2.6
Keywords: Cc:

Description (last modified by bfraser)

It is possible to select the wrong tool for a layer (e.g. a polygon tool for a point layer). This results in a label of "undefined" for the feature.

Change History (5)

comment:1 by bfraser, 12 years ago

Priority: majorminor

comment:2 by bfraser, 12 years ago

Description: modified (diff)
Resolution: worksforme
Status: newclosed

Can not reproduce.

comment:3 by bfraser, 12 years ago

Resolution: worksforme
Status: closedreopened

Activate "Census Cities". Layer Tools-> Add Polygon. Draw Polygon. Layer-Tools->Edit Feature. Select Polygon. Note vertices are now labeled with "undefined"

comment:4 by jimk, 12 years ago

Owner: set to jimk
Status: reopenedaccepted

Fixed in r694.

This effects all editing of line and polygon features and has nothing to do with mismatched layer type.

The problem was the select stylemap intent was inheriting the label parameter from the default intent and there is no label defined on the editing vertices. The solution is to default the label parameter of the select intent stylemap to "". (Anything explicitly set in the mapbook will take precedence.)

comment:5 by theduckylittle, 12 years ago

Resolution: fixed
Status: acceptedclosed

I'm seeing this as fixed in the current demo.

Note: See TracTickets for help on using tickets.