Source : Google map – https://github.com/carvemerson/map
Getting camera position change
- JSON filter and sorting
- Getting key Controlling back button to specific page
- From project folder pass these lines
- Tell Git who you are
First, you need to tell Git who you are:
git config –global user.email “email@example.com”
git config –global user.name “Your Name”
Give GitHub your public keys
Some basic Git operations
When we worked on GitHub, the basic work cycle was fork > edit > commit > pull request > merge. The same cycle, with a few differences, is what we will work through on the commandline.
$ git status
# On branch master
nothing to commit (working directory clean)
- Connect n merge coder from dev to tenzin
- Connect and merge from tenzin to dev branch
- To connect to new branch in remote we have to follow this step
9.git branch commands’ various options. -a shows all local and remote branches, while -r shows only remote branches.
- There’s also another way to do figure out what branches are on your remote by actually using the remotely related commands, git remote and git ls-remote. The former displays plenty of information about the remote in general and how it relates to your own repository, while the latter simply lists all references to branches and tags that it knows about.
JSON FILTER N SORTING
ANGULARFIREBASE DATABASE GETTING KEY
Add the code typescript
Add template for accessing key
For Angulardatabase CRUD more information – https://github.com/codediodeio/angular-firestarter/blob/master/src/app/uploads/shared/upload.service.ts
CONTROLLING BACK BUTTON FOR SPECIFIC PAGE
—- PROBLEM WITH GOOGLE MAP NATIVE FOR NEW LOCATION OR DRAG TO ADD NEW MARKER —
Ionic Native Google Maps app example
——— WORKING CODE GOOGLE MAP JS FOR PLACE ID, CURRENT LOCATION ——
Concatenate two string in Twig
Not condition in twig
For multiple conditions, and and or can be used:
For multiple branches, elseif and else can be used like in PHP.
You can also test if an array is not empty:
In many of mobile apps and modern web app allow us to utilize different mapping features such as showing the current location, add a marker with text and creating routes. We can achieve this feature through the use of Google Map Cordova plugin.
Step 1: Step up the project:
Step 2: Setting up Google Map API in Google Developer Console
In order to use the Google Maps API, you must register your application on the Google Developer Console and enable the API. To do this, start by going to the Google Developer Console for Google API for the map. If you already have a project created, you can skip the next section. If not, you can follow along and create a new project for your maps application.
We need to enable the Google Maps SDK for iOS or the Google Maps Android API, or both. Let’s select the Google Maps SDK for an Android for this example. In the Google developer console find the API library and select Google Maps Android API and we have to enable the API. In the dashboard, we have to click on credential to create API key for our project and select key restriction for Andriod. For the android, we have specified the package name and SHA-1 certificate fingerprint. Copy package name from our AndroidManifest.xml file. We can generate SHA1 from the following command on cmd as
Once we have specified both the project name and SHA-1. We can have to install Google map Cordova plugin and have to specify the API in for plugin.
Running on real android device
Problem: Error: ./node_modules/firebase/utils/promise.js Module not found: Error: Can’t resolve ‘promise-Polyfill’ Solution : npm install promise-polyfill –save-exact
Free it book
Leaflet – leaflet d3js topojson
Best Buddhist Blog:
Topojson on a leaflet map
Updated December 6, 2016
d3 map with states and countries