I am very happy to see the ability to edit external libraries and dependencies after the latest update.
I am having an issue getting the following to load:
I have gone into App settings and added it as an external lib that is not global with a shim enabled and a dependency on gmaps.
type: External lib
shim export: [BLANK]
shim init code: [BLANK]
When I then try to call a function in this library:
codevar distance = google.maps.geometry.spherical.computeDistanceBetween(map.center,$scope.map.lastCenter );/code
I am getting this error:
codeCannot read property 'spherical' of undefined/code
I can console.log(google.maps) and everything is there but the geometry library.
Any idea why it is not loading the "geometry" functions? I assume it is something with my external lib setup.