Opened 13 years ago
Last modified 13 years ago
#334 closed defect
WFSFilterBuilder - zoomToFeature js error — at Version 1
Reported by: | cdeschenes | Owned by: | adube |
---|---|---|---|
Priority: | major | Milestone: | 1.2.0 |
Component: | widgets | Version: | |
Keywords: | Cc: | adube |
Description (last modified by )
Issue
When the WFSFilterBuilder widget isn't linked to a QueryOnClick widget, zooming on a feature (with the zoom button in the result grid) throws a javascript error. This is caused because it uses the feature.layer.map to access the map.
Solution
The map object is already available in the FilterButton, so it could be used when creating the result grid as an API property.
Change History (2)
by , 13 years ago
Attachment: | FeatureGridResult.patch added |
---|
comment:1 by , 13 years ago
Component: | documentation → widgets |
---|---|
Description: | modified (diff) |
Keywords: | filterBuilder js zoom error removed |
Milestone: | 1.0.0 → 1.2.0 |
Priority: | minor → major |
Summary: | no layer cause error when click on "zoom on feature" button in wfsfilterbuilder → WFSFilterBuilder - zoomToFeature js error |
Type: | enhancement → defect |
Version: | 1.0 |
Note:
See TracTickets
for help on using tickets.
execute in .\src\client\widgets\wfsfilterbuilder