8000 Side effect of custom fields formatters in Identify · Issue #650 · cmv/cmv-app · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Side effect of custom fields formatters in Identify #650
Closed
cmv/cmv-docs
#28
@tmcgee

Description

@tmcgee

@roemhildtg I think we may want to reconsider the approach we worked on for #618. Changing the attributes of the original feature is liekly not a desirable outcome. For example, if you have code elsewhere that does this:

var feature = this.map.infoWindow.getSelectedFeature();

you get a result that you might not expect. What is returned will have modified attributes based on the formatters, not those of the original feature.

I ran into this in a current application. Capturing it here for review and discussion. No immediate solution comes to mind.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0