retonaEndereco(myLatlng,adress => {
let getDistance = function (origin,destination) {
let distance = geolib.getDistance(origin,destination);
return geolib.convertUnit('km',distance);
}
var getAllDistances =...
I have a .sql file and I need to run all the rows, insert all the records that are in it, into a table inside SQLite.
Content of file mydb.sql :
CREATE TABLE tblVeiculo (VeiculoId INT, Codigo [TEXT(9)], Fabricante [TEXT(255)],...
Sorry for the ignorance you may not have asked the question correctly, a week ago I started to see a little about Ionic and Angular 2, I came doing some tests and I came across the following problem.
<ion-view title="Teste modais" id="p...
Well I have a side menu app where the first page is home, and it loads elements as soon as the user enters the app. I'm using Ionic 2 and the communication is being done via socket. One detail is that the elements do not load when I update, but...
I created a function in which when the user gives a simple click in the item, it shows a Toast , an alert, on the screen with the name of this item:
Function in my file .ts :
itemSelected(item: string) {
this.toastCtrl.show...
I was able to implement searchbar as IONIC 2 documentation.
The problem is that I am bringing information from a remote database and I can not implement this database data in searchbar . It's a matter of passing the vari...