Skip to Content
0

openui5 googlemaps don't work.

Sep 01, 2017 at 03:19 AM

102

avatar image
Former Member

hello experts:

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sharath M G Sep 01, 2017 at 08:17 AM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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.

0

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

1
Sharath M G Sep 02, 2017 at 04:00 PM
0

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/

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0