Lengkap

Google Distance Matrix API

UNDERTAKE ONLY IF YOU WORKED WITH DISTANCE MATRIX API

AND YOU ARE A GURU OF PROMISES, ASYNC-WAIT OPERATIONS

In this JavaScript project, we would like to use the Google Distance Matrix API. We have a valid API key, which is embedded into the code already.

We have a bunch of addresses in an array. We would like to measure the distance among all the origin and destination addresses, so in every possible variations without duplicates.

The problem: the callback function runs on a very different speed, and when we got back data from the callback function, we did not know which response belongs to which query.

We are using IDs to identify the address (startID and endID), but we can not pass that to the callback function, so we loose track: we don't know which distance data belongs to what.

The mission is to push the IDs through the whole process so that we can know which measurement we are getting back.

A good solution here would be async-wait functions and promises but that is high for me.

On the top of the problem we are getting the "Can not read property "value" of undefined. We did not get this error before, this code was giving back distance data.

Kemahiran: Javascript, jQuery / Prototaip, PHP, Kejuruteraan Perisian

Lihat lagi: google distance matrix mysql, google distance matrix coordinates, Google distance matrix api, google distance matrix lat, google distance matrix api example, google distance matrix api latitude longitude, google distance matrix api lat, google maps distance matrix api excel, google distance matrix api in c#, google maps distance matrix api example, google distance matrix api c#, google maps distance matrix api python, google maps distance matrix api query limit, google distance matrix api pricing, google distance matrix api example php, google distance matrix api example android, google distance matrix api over_query_limit, google distance matrix api in excel, google distance matrix api java example

Tentang Majikan:
( 14 ulasan ) Vienna, Austria

ID Projek: #20029882

Dianugerahkan kepada:

moderninfotech

Hi, We are having team of skillful and talented developers and designers in all the aspects and requirements regarding the project and also gone through the details and understand what exactly you want. I'm onl Lagi

€23 EUR dalam sehari
(149 Ulasan)
7.0
xinglong717

Google map expert. I can show you my projects via chatting. I have many experiences. I can complete your project successfully. I'm software engineer and algorithm expert. I'm fullstack website developer and database ma Lagi

€50 EUR dalam 7 hari
(61 Ulasan)
5.7

7 pekerja bebas membida secara purata €28 untuk pekerjaan ini

bestcoder2018

hello how are you? I saw the description carefully so understood fully what you want. i'm a full-stack developer with rich experience and high-skill in website development. i am very well known about google map a Lagi

€25 EUR dalam sehari
(19 Ulasan)
6.9
bjrupani

Hello hiring member i hope you are doing well i am bhavika i have 3+years experience in php , laravel ,ajax , jquery , javascript , html ,css , bootstrap so i can do it and i can start it right now so please give me c Lagi

€23 EUR dalam sehari
(132 Ulasan)
6.4
amitbanerjee2812

Dear Hiring Manager, I read your job description and I am confident that I can exceed your expectations. I am a professional programmer on PHP+MySQL+WordPress. Please have a look at my recent work for WordPress : 1. Lagi

€19 EUR dalam 7 hari
(26 Ulasan)
5.2
Mexi2705

Hello I have walked through your note and enough confidence that I can work on your project I am having 10 years of rich experience as Mobile & Web Developer and also know graphics designing means in my career i learn Lagi

€30 EUR dalam 2 hari
(17 Ulasan)
4.7
vajaankur

Respected Sir/Madam I can complete your project on time and within your budget. I have worked on similar projects to what you are looking for, and I am confident I can exceed your expectations. I read through the job Lagi

€25 EUR dalam 2 hari
(1 Ulasan)
2.0