diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-06-28 15:14:33 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2019-08-16 12:04:28 +0100 |
commit | e5984258a21edf6008df1995633ca1b4b8cde893 (patch) | |
tree | 9dab6c82e359509fafcdc93bb368df5fa23314db /web/js/map-OpenStreetMap.js | |
parent | 850ac8cce99e8cdbc8b9f1fa4829822af5fe2085 (diff) |
Make asset layer select/hover controls use arrays.
This way, we will then be able to pass in multiple layers for only one
pair of select/hover controls. Storing the controls on the layer makes
it easier to handle, but it does mean the controls need to be switched
on/off with visibility, as otherwise the RootContainer layer is always
present, making things unselectable. This also means the controls need
to be added to the map first, otherwise control activation won't work.
Diffstat (limited to 'web/js/map-OpenStreetMap.js')
0 files changed, 0 insertions, 0 deletions