Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

google is not defined #43

Open
Surender246 opened this issue May 28, 2014 · 4 comments
Open

google is not defined #43

Surender246 opened this issue May 28, 2014 · 4 comments

Comments

@Surender246
Copy link

hi am using google maps in my application its working fine when i run it locally but when i run it on server its giving me the following error.

maperror

help me to solve this problem
thanks in advance

@ProLoser
Copy link
Member

@Surender246
Copy link
Author

how to resolve this problem i mean how to make maps library loading

@scmorrison
Copy link

Double check to make sure that your Google Maps js is loaded after angular-ui-map:

<script type="text/javascript" src="bower_components/angular/angular.js"></script>
<script type="text/javascript" src="bower_components/angular-ui-utils/modules/event/event.js"></script>
<script type="text/javascript" src="bower_components/angular-ui-map/src/map.js"></script>
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&callback=onGoogleReady"></script>

@dgoyal2
Copy link

dgoyal2 commented Sep 10, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants