Changes between Initial Version and Version 1 of Ticket #334


Ignore:
Timestamp:
Nov 21, 2011, 10:55:55 AM (12 years ago)
Author:
adube
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #334

    • Property Component documentationwidgets
    • Property Summary no layer cause error when click on "zoom on feature" button in wfsfilterbuilderWFSFilterBuilder - zoomToFeature js error
    • Property Priority minormajor
    • Property Version 1.0
    • Property Milestone 1.0.01.2.0
    • Property Keywords filterBuilder js zoom error removed
    • Property Type enhancementdefect
  • Ticket #334 – Description

    initial v1  
    1 In wfs filter builder, when no feature layer exist, click on a "zoom on feature" button cause JS error when the script try to get map from feature.layer
    2 use directly map variable repair the broblem.
     1'''Issue'''
     2
     3When 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.
     4
     5'''Solution'''
     6
     7The map object is already available in the !FilterButton, so it could be used when creating the result grid as an API property.