Message Boards

Importing Openlayers javascript library to Liferay 7.2

Henok Weldeslassie, modified 4 Years ago.

Importing Openlayers javascript library to Liferay 7.2

New Member Post: 1 Join Date: 10/16/19 Recent Posts
I am new to Liferay development and wanted to develop a map fragment using Openlayers. I read the documentation on how to add external external javascript libraries to Liferay on the link below:
https://portal.liferay.dev/docs/7-1/tutorials/-/knowledge_base/t/using-external-javascript-libraries
But I couldn't quite understand it. Can you help me how can I can add the openlayers js files to Liferay so I can access them through the fragment inline coding UI. Once they are added how do I access the js files(in other words what is the path to the files)?
I know this might be a bit of silly question, but I would really appreciate your help.
Thanks in advance