Ticket #2896 (new feature)

Opened 3 years ago

Allow highlighter to work with SelectControl on KML files when extractStyles is true.

Reported by: scaddenp Owned by:
Priority: minor Milestone: 2.13 Release
Component: general Version: 2.10
Keywords: Cc:
State:

Description

Selectcontrol.selectStyle isnt much use when there are multiple kml files with different geometries. If kml is opened with extractStyles = true, then every feature has a style and highlighter simply uses that unless selectStyle is non-null.

The suggested patch creates an appropriate style in the highlight function.

Attachments

highlightfix.patch Download (0.8 KB) - added by scaddenp 3 years ago.
patch to selectFeature.js to apply the fix

Change History

Changed 3 years ago by scaddenp

patch to selectFeature.js to apply the fix

Note: See TracTickets for help on using tickets.