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 adube)

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 cdeschenes, 13 years ago

Attachment: FeatureGridResult.patch added

execute in .\src\client\widgets\wfsfilterbuilder

comment:1 by adube, 13 years ago

Component: documentationwidgets
Description: modified (diff)
Keywords: filterBuilder js zoom error removed
Milestone: 1.0.01.2.0
Priority: minormajor
Summary: no layer cause error when click on "zoom on feature" button in wfsfilterbuilderWFSFilterBuilder - zoomToFeature js error
Type: enhancementdefect
Version: 1.0
Note: See TracTickets for help on using tickets.