quentinlampin / ngx-openlayers

Angular2+ components for Openlayers 4.x
Mozilla Public License 2.0
137 stars 98 forks source link

Angular 9 >> ERROR in Symbol MapComponent declared in...is not exported from..../ngx-openlayers/dist/index.js #248

Open genesispro opened 4 years ago

genesispro commented 4 years ago

After upgrading my project to Angular 9 I got this error. If I disable the Ivy compiler it works fine. With Ivy compiler I get the error and the application won't run

kekel87 commented 4 years ago

On the next branch, there are warnings but the application with Ivy works with me.

skappler commented 4 years ago

Works for me too. Can you please add angular version 9.0.0 to the package.json aswell to get rid of the npm warnings?

fredriklindell commented 4 years ago

Almost everything works for me too v9.0.5.

What does not work (that I have found) is map click. Anyone else have this problem? Or a possible workaround?

Thanks in advance.

skappler commented 4 years ago

@fredriklindell After migrating from 0.8.22 to 1.0.0-next.13 I had to change the (onSingleClick) callback on aol-map to (singleClick) to make it work again

fredriklindell commented 4 years ago

@skappler thnx for the tip, still does not work together with angular 9. seems like the events are not firing

jorugit commented 4 years ago

After upgrading my project to Angular 9 I got this error. If I disable the Ivy compiler it works fine. With Ivy compiler I get the error and the application won't run

Do you have a solution for this problem?

Nicobai commented 4 years ago

Hello everyone, i have the exact same issue described above. i have tried the "next" branch but it doesn't work... Do somebody have a solution ?

mat-codehaus commented 4 years ago

@fredriklindell I had this issue it was because I didn't update the ol.css