cancel
Showing results for 
Search instead for 
Did you mean: 

openui5 googlemaps don't work.

former_member461282
Discoverer
0 Kudos

hello experts:

I have added the openui5-googlemaps to my project. but it don't work. I don't konw the reason

Accepted Solutions (0)

Answers (2)

Answers (2)

Sharathmg
Active Contributor
0 Kudos

For cache issues, which is due to browser caching of files, you can invalidate the cache repository on the server by running a report: /ui5/app_index_calculate

Check this blog for detailed steps to incldue external JS library:

https://blogs.sap.com/2017/04/30/how-to-include-third-party-libraries-modules-in-sapui5/

Sharathmg
Active Contributor
0 Kudos

Hi Mike,

Thanks for your quick response.

I am attaching the screenshots of the notifications informing that my answers are accepted. However neither the credits nor the post has that info.

I will approach the author for the confirmation as you proposed.

If you could assist in any other way, it would be helpful.

Regards,

Sharath

Sharathmg
Active Contributor
0 Kudos

Yes even with the other notification it was the same issue.

Regards,

Sharath

Sharathmg
Active Contributor
0 Kudos

Hi Mike,

Thanks for the clarification. However, notifications have not always been consistent in their behavior. If the team can fix issues like notif through mails and fix the inconsistency, it will avoid confusions.

Regards,

Sharath

Sharathmg
Active Contributor
0 Kudos

I am sharing a couple of blogs which explain the steps to integrate Maps in UI5.

https://blogs.sap.com/2017/01/06/integrate-google-map-with-sapui5-application/

https://blogs.sap.com/2014/07/01/google-maps-library-for-ui5/

Share the error, when you try to run the application.

Regards,

Sharath

former_member461282
Discoverer
0 Kudos

Hello experts:

We have included the openui5/googlemaps library,but i get the error message "Could not open App. Try again later". When analyse the error with Chrome Inspect Element i can see the following error.

Error: found in negative cache: 'cus/crm/mycalendar/CRM_MYCALExtension/Component.js' from /sap/bc/ui5_ui5/sap/zyps_myTourPlan/Component.js: Error: failed to load 'openui5/googlemaps/library.js' from openui5/googlemaps/library.js: 404 - NOT FOUND"

This is the first time i tried to include an external library in an sapui5 project, i need some good advices how to do it the right way.

Sharathmg
Active Contributor

Hello,

Did the answer help you? I received a notification that my answer was accepted but the post does not reflect it.

If it has helped, request you to confirm.

Regards,

Sharath