Kais Kais - 1 year ago 404
AngularJS Question

Ng-map (angular map) is not working now

Previuosly when I use ng-map it was working fine but now its not working, I get blank map. I am getting this error from google map api:

The Google Maps JavaScript API must be downloaded directly from
Google's servers. Learn more:

Answer Source

you should be downloading the google maps JS from google's servers, as stated in ng-maps' DOCS

Include Google maps:

<script src="http://maps.google.com/maps/api/js"></script>

Name your angular app ngMap, or add it as a dependency

var myApp = angular.module('myApp', ['ngMap']);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download