Giter Club home page Giter Club logo

Comments (8)

diegobill avatar diegobill commented on August 16, 2024 1

Now is working:

just add ion-google-place on index.html:

<script src="lib/ion-google-place/ion-google-place.js"></script>
<link href="lib/ion-google-place/ion-google-place.css">

This could be included on README

from ion-google-place.

diegobill avatar diegobill commented on August 16, 2024

using Ionic 1.7.12

from ion-google-place.

RamyRais avatar RamyRais commented on August 16, 2024

i think it is just because ion-google-place call the google API before it is loaded.

from ion-google-place.

diegobill avatar diegobill commented on August 16, 2024

How can I fix this?

from ion-google-place.

RamyRais avatar RamyRais commented on August 16, 2024

well with the way you did it i don't know, but i used Angular google map where there a callback to know it the google map plugin is loaded (http://angular-ui.github.io/angular-google-maps/#!/api/GoogleMapApi).
Then it up to you to fix your code using the link above.

from ion-google-place.

diegobill avatar diegobill commented on August 16, 2024

I just follow the Installation on README:

  1. create app: ionic start myApp tabs
  2. install ion-google-place: bower install ion-google-place
  3. Change two files: app.js and index.html (https://jsfiddle.net/vLy2dv9j/), to add<script src="http://maps.googleapis.com/maps/api/js?libraries=places&sensor=false"></script> and ion-google-place as a dependency on your Ionic app
  4. and this error happens

Do I need to use another dependency like angular-google-maps ??

from ion-google-place.

shobhitdixit avatar shobhitdixit commented on August 16, 2024

I agree with degobill. This should be included in the README. It helped solve my problem as well. @diegobill @israelidanny

from ion-google-place.

Henryisthebest avatar Henryisthebest commented on August 16, 2024

I agree too!

from ion-google-place.

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.