jasper07 / openui5-googlemaps

Openui5 Googlemaps library
MIT License
65 stars 43 forks source link

library-preload.js not found #31

Open RobertYuwono opened 6 years ago

RobertYuwono commented 6 years ago

Hi Jasper,

I included your library using sap.ui.getCore().loadLibrary("openui5.googlemaps", "openui5/googlemaps/");

It is succesfull and then I got an error that it cannot find 'library-preload.js', but I can find 'library-preload.json'.

Is it the same? or Do I miss something here?

Thanks, Robert

wernerdaehn commented 3 years ago

This is normal. There are multiple ways how you can provide libraries in UI5, library-preload.js, library-preload.json are tow of them. If both would be set that would be redundant.

Having said that, I am no fan of error messages myself, so I added an empty library-preload.js file.