-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work in progress - BNG and Feature Links (BC link) seem to have
mutually exclusive solutions - zoomTo after changing projection on map is necessary to inform Leaflet of the changed CRS (scale difference) but the history gets messed up and the BC link doesn't quite render (you have to generate a moveend on the map, then it'll draw). Removed a section of code from _handleLink that sets the map viewer projection when there is a single map layer and it has a different projection from that of the map BECAUSE this is handled by the MapMLLayer in selectAlternateProjection and we don't want to trigger the promise involved in disconnecting / reconnecting all map layers (happens when mapml-viewer projection attribute changed callback happens).
- Loading branch information
1 parent
0307930
commit 42a5f7d
Showing
3 changed files
with
19 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters