Git Product home page Git Product logo

places-demo's Introduction

Places Demo

A progressing ionic app demo showing how to use:

  1. ngCordova's Geolocation plugin to locate the user's device
  2. Angular Google Maps to display a Google Map
  3. Angular Google Places to search for Nearby Places

Working:

  1. Geolocation
  2. Google Maps
  3. Search nearby based on geolocation

Not Working:

  1. Turning list of returned Nearby Places to markers on the map

To use:

  1. git clone https://github.com/skotturi/places-demo.git && cd places-demo
  2. npm install && bower install
  3. ionic serve --lab
  4. A list of Nearby Places will populate once they're loaded

TODO:

  1. Turn list of nearby places into markers on map
  2. Allow the user to pan the map around, keeping the main marker pin centered, redo nearby location search
  3. ... ?

License:

MIT

places-demo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

places-demo's Issues

Cannot run the app on Android

Hi,

I installed the GeoLocation plugin using ionic plugin add org.apache.cordova.geolocation, built the application and ran it on an Android device. Impossible to make it work (the GPS is on).

The app works perfectly in the web browser though. Have you had that kind of issue?

Great project anyway, cheers!

Cannot show google map and google place nearby on real Android device

Hi everyone,
I'm implemented this demo. but for some reason it doesn't show in real android device, Couldn't get working "Angular Google Maps" and "Angular Google places" in real android device.

  • Solution 1: I have been add cordova plugin "gelocation" and cordova plugin "whitelist". But It's not working. So, how do use cross work with your application.
    "ionic plugin add org.apache.cordova.geolocation"
    "ionic plugin add https://github.com/apache/cordova-plugin-whitelist.git"
  • Solution 2: I try to remove and install android platform:
    "ionic platform remove android"
    "ionic platform add android"
    And re-build:" ionic build". But it still not working.
  • Information of my device: Nexus 5, Android 5.1.1
    I'd appreciate any help.
    Thanks,
    quyennv

Run demo not work in Android

Excellent work! But, I following the steps and the example show maps and places only in iOS, Android does not work. Some idea?

This is the screenshot

Thanks in advance!

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.