Hi, thanks for that example.
Been trying to load ol-ext library in different ways, but can't figure it out fully. In some cases, I see it's been loaded, but it gives error "ol is not defined".
------------------------------
Karli Kannel
Knowledge Community Shared Account
------------------------------
Original Message:
Sent: 03-30-2023 04:55
From: Mustafa Ismail
Subject: Using ol-ext library as external library in SSA 2022.1 extensibilities
Hi Karli
It seems the ol-ext library may not be getting fully loaded. I have attached an example (zipped up with code and guidance note) which shows how to import external js libraries via extensibility for the 2022.1 SSA release. Please see if this helps. If not I would suggest approaching the Precisely technical support team and we can take a look at it further.
------------------------------
Mustafa Ismail
Precisely Software Inc.
Watford
Original Message:
Sent: 03-22-2023 15:14
From: Karli Kannel
Subject: Using ol-ext library as external library in SSA 2022.1 extensibilities
Could there be some conflict with using ol-ext now with OpenLayers version 6.5.0?
It just doesn't seem to get the import and reference ol-ext library when I load ol-ext functions in extensibility in SSA project.
------------------------------
Karli Kannel
Knowledge Community Shared Account
Original Message:
Sent: 03-22-2023 13:44
From: Karli Kannel
Subject: Using ol-ext library as external library in SSA 2022.1 extensibilities
Hi!
I'm wondering how to make this external library work now while upgrading to SSA 2022.1. We used some modules from 'ol-ext' library previously in our extensibilities and everything worked fine.
So, could anyone provide an example how to reference 'ol-ext' library correctly in CustomAnalystModuleConfig.json and how to do import of some module to use it in component.ts? Let's say I would like to use ol.interaction.Transform from ol-ext library.
Any advice is appreciated.
Thank you!
------------------------------
Karli Kannel
Knowledge Community Shared Account
------------------------------