GastonZalba / ol-street-view

Street View implementation for Open Layers
https://raw.githack.com/GastonZalba/ol-street-view/v3.0.0/examples/basic.html
MIT License
16 stars 4 forks source link

@types/googlemaps is deprecated #10

Open pribram opened 3 weeks ago

pribram commented 3 weeks ago

Hi Gastón, your module is great! Would you please switch the @types/googlemaps (deprecated) with @types/google.maps? It will allow me to use this module in my Angular project that already uses @types/google.maps, otherwise I get errors like this:

node_modules/@types/google.maps/index.d.ts:15:1 - error TS6200: Definitions of the following identifiers conflict with those in another file

Thanks a lot! Pribram

GastonZalba commented 3 weeks ago

Hi, yes. I'll do it today or tomorrow

GastonZalba commented 3 weeks ago

Hi, try the new version and let me know if it's resolved.

pribram commented 3 weeks ago

Hi, it works after I added this import to ol-street-view.d.ts: import interact from 'interactjs';

Thank you again!