Comments (4)
Your maps library isn't loading
On Wed, May 28, 2014 at 6:23 AM, Surender Reddy [email protected]
wrote:
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.
ReferenceError: google is not defined
at http://malpani-ss-client.herokuapp.com/scripts/6587b441.scripts.js:3:15501
at http://malpani-ss-client.herokuapp.com/scripts/cf055713.vendor.js:5:3922
at k (http://malpani-ss-client.herokuapp.com/scripts/cf055713.vendor.js:5:18269)
at k (http://malpani-ss-client.herokuapp.com/scripts/cf055713.vendor.js:5:18269)
at http://malpani-ss-client.herokuapp.com/scripts/cf055713.vendor.js:5:18946
at k.$eval (http://malpani-ss-client.herokuapp.com/scripts/cf055713.vendor.js:5:24013)
at k.$digest (http://malpani-ss-client.herokuapp.com/scripts/cf055713.vendor.js:5:22543)
at k.$apply (http://malpani-ss-client.herokuapp.com/scripts/cf055713.vendor.js:5:24332)
at f (http://malpani-ss-client.herokuapp.com/scripts/cf055713.vendor.js:5:4354)
at r (http://malpani-ss-client.herokuapp.com/scripts/cf055713.vendor.js:5:6425) cf055713.vendor.js:5
help me to solve this problemthanks in advance
Reply to this email directly or view it on GitHub:
#43
from ui-map.
how to resolve this problem i mean how to make maps library loading
from ui-map.
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>
from ui-map.
https://stackoverflow.com/questions/47198904/angular-google-is-not-defined
from ui-map.
Related Issues (20)
- map-event binder not taking arguments HOT 1
- Multiple call to a button function inside a uiMapInfoWindow HOT 4
- Clicks on map pins stops working after a bit HOT 4
- event $params returns an empty array HOT 1
- Translate ng-events to similar in Google Maps API
- map-closeclick is not working in Firefox 12 and IE 10
- Custom infoWindow
- Memory leak in directives for some use cases
- marker
- Support for drawing tools HOT 2
- https://angular-ui.github.io/angular-google-maps/ doesn't work
- Please close
- update map location (help) HOT 2
- Compatibility issues with Cordova for iOS HOT 1
- how to click a button to trigger the map to show out?
- showing ui-map in angular-modal-service shows error HOT 3
- Event when map is ready HOT 1
- angular ui-map, set map to fit markers bounds
- npmjs.com
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ui-map.