Closed samuel-girard closed 5 years ago
@samuel-girard I fixed the linting problem on next
branch, could you rebase please ?
I have an issue on demo, view does not reload when projection change.
_Chrome Version 73.0.3683.75 (Build officiel) (64 bits)
Ubuntu 18.04.2 LTS_
Hello @Yakoust
Yes, I can reproduce the problem. It looks like I forgot something here.
The following part is included in #213 and absolutely needed here:
https://github.com/quentin-ol/ngx-openlayers/blob/8d813c86782b10c3fb2276a6bb863c9693b5ad9f/projects/ngx-openlayers/src/lib/coordinate.component.ts#L46
It will make each coordinate reprojected on map projection change.
You should merge this only after #213
Hello,
This change brings the fact to dynamically update the projection of the map, as it is possible in OpenLayers example here: http://openlayers.org/en/latest/examples/reprojection-by-code.html
The change is to be applied only after #183 is merged.
I also added the example "view-projection-update" in the demo project to see it working.