Uncaught Error: failed to load 'openui5/googlemaps/Map.js' from ../../openui5/googlemaps/Map.js: Error: failed to load 'google.maps.js' from ../../resources/google.maps.js: 404 - Not Found
The "Maps.js" is available via:
....hana.ondemand.com/openui5/googlemaps/Map.js?eval
Hi John,
i started today to play arround with your library. In my "component.js" i´ve defined the following:
var theRootPath = jQuery.sap.getModulePath("CityMap"); sap.ui.getCore().loadLibrary("openui5.googlemaps", [theRootPath,"openui5/googlemaps/"].join("/"));
In the "index.html" i´ve defined this:
data-sap-ui-resourceroots='{"CityMap": "./", "openui5": "./openui5"}'>
But i got the following error:
Uncaught Error: failed to load 'openui5/googlemaps/Map.js' from ../../openui5/googlemaps/Map.js: Error: failed to load 'google.maps.js' from ../../resources/google.maps.js: 404 - Not Found
The "Maps.js" is available via: ....hana.ondemand.com/openui5/googlemaps/Map.js?eval
What iam doing wrong here?
thx nd br, fabian
p.s. my project structure is this one: