kopia lustrzana https://github.com/paraboul/mapchecking
Places service: only request place location
rodzic
9111c5fc12
commit
15271785c7
|
@ -85,7 +85,8 @@
|
||||||
|
|
||||||
placesService.getDetails({
|
placesService.getDetails({
|
||||||
sessionToken,
|
sessionToken,
|
||||||
placeId: rest.predictions[0].place_id
|
placeId: rest.predictions[0].place_id,
|
||||||
|
fields: ['geometry.location']
|
||||||
}, (res) => {
|
}, (res) => {
|
||||||
if (!res?.geometry?.location) {
|
if (!res?.geometry?.location) {
|
||||||
return;
|
return;
|
||||||
|
|
Ładowanie…
Reference in New Issue