ATOUTFOX
COMMUNAUTÉ FRANCOPHONE DES PROFESSIONNELS FOXPRO
Visual FoxPro : le développement durable

Forum AtoutFox : Re: Google maps callculaltion   

Sujet

rss Flux RSS des derniers messages

Vous devez vous identifier pour pouvoir poser une question ou répondre.

sam. 21 décembre 2019, 17h27

Koen
Pays-Bas Pays-Bas

atoutfox.public.association

Re: Google maps callculaltion

Mike,
Le service https://developers.google.com/maps/documentation/distance-matrix/start ne donne pas use precision. D autre part le service https://developers.google.com/places/web-service/autocomplete il y a une parameter 'offset' qui, apres Google: * The position, in the input term, of the last character that the service uses to match predictions.
* For example, if the input is 'Google' and the offset is 3, the service will match on 'Goo'.
* The string determined by the offset is matched against the first word in the input term only.
* For example, if the input term is 'Google abc' and the offset is 3, the service will attempt to match against 'Goo abc'.
* If no offset is supplied, the service will use the whole term. The offset should generally be set to the position of the text caret.
Il semble pour obetenir une correcte reponse on doit utiliser d;abort Autocomplete et en suite actualiser le distance-matric avec les chiffres coordonniates aux lieuw dúne texte.
Sls.
Koen


Permalink : http://www.atoutfox.org/nntp.asp?ID=0000019515
20 087 messages dans le forum • Liste complète des messages

Publicité

Les pubs en cours :


www.atoutfox.org - Site de la Communauté Francophone des Professionnels FoxPro - v3.4.0 - © 2004-2024.
Cette page est générée par un composant COM+ développé en Visual FoxPro 9.0-SP2-HF3