Coder Social home page Coder Social logo

fjsnogueira / ionic-google-maps-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dmkorol/ionic-google-maps-starter

0.0 3.0 0.0 2.7 MB

Demo using Google Maps Native SDK v2 (wf9a5m75/phonegap-googlemaps-plugin) and Ionic Framework

JavaScript 84.29% CSS 15.68% HTML 0.03%

ionic-google-maps-starter's Introduction

Ionic and Google Maps Native SDK v2

Starter using Google Maps Native SDK v2 and Ionic Framework created by me.

Special thanks to wf9a5m75 for create the plugin used in this integration and all collaborators of Ionic Framework, Cordova Project and Cordova Plugins.

Dependencies

  • Ionic CLI installed (required)
  • Cordova 5.x.x installed (required)
  • *Android and/or iOS environment installed (optional, but required if you don't have devices to test)

*To run the starter inside an Android Virtual Device, you need request Google Play Services into the Android Emulator Environment and change the project configurations to use it.

Usage

For begin, clone this project and run the following commands in your terminal:

$ cd ionic-google-maps-starter && npm install

When npm installation finish, you need put your credentials API_KEY_FOR_ANDROID and API_KEY_FOR_IOS generated in Google Console inside the package.json file.

After set your API Keys successfully, you need restore the state of project and to do this, please run:

$ ionic state restore

And now, when restore finish, you need follow the next steps in each platform supported:

iOS

Just run your project using the following commands:

$ ionic build ios
$ ionic run ios

Note: If the version that you're testing is the iOS 9 or greater you'll change in the Build Settings tab the value Enable Bitcode to NO, like the example below:

Android

Just run the following command to open the project inside a device connected:

$ ionic run android --device

But, if you want run inside a Android Emulator, please read my considerations in Dependencies chapter of this README.md and run:

$ ionic run android

PROTIP: If you want use this starter with Crosswalk, check the wiki of plugin.

Screenshots

Observations

This starter are using the wf9a5m75's version of plugin phonegap-googlemaps-plugin that you can found in wf9a5m75/phonegap-googlemaps-plugin.

License

MIT License © Beto Muniz

ionic-google-maps-starter's People

Contributors

obetomuniz avatar

Watchers

James Cloos avatar Fernando Nogueira avatar  avatar

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.