Giter Site home page Giter Site logo

google is not defined about ui-map HOT 4 OPEN

angular-ui avatar angular-ui commented on September 21, 2024
google is not defined

from ui-map.

Comments (4)

ProLoser avatar ProLoser commented on September 21, 2024

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 problem

thanks in advance

Reply to this email directly or view it on GitHub:
#43

from ui-map.

Surender246 avatar Surender246 commented on September 21, 2024

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

from ui-map.

scmorrison avatar scmorrison commented on September 21, 2024

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.

dgoyal2 avatar dgoyal2 commented on September 21, 2024

https://stackoverflow.com/questions/47198904/angular-google-is-not-defined

from ui-map.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.