google-places-api 相关问题

Google Places API是一种服务,可返回有关地点的信息 - 在此API中定义为机构,地理位置或重要的兴趣点。放置请求将位置指定为纬度/经度坐标。 Google Places API可用作网络服务(HTTP请求),Google Maps API v3的JavaScript库,Android API(在Google Play服务中)和iOS库(Google Maps for iOS SDK的一部分)。





google api放置新的(不是旧地方)

该API密钥无权使用此服务或API。位置API错误:ApitargetBlockedMaperror https://developers.google.com/maps/documentation/javascript/Error-messages#api-target-map--map--

回答 1 投票 0


GOOGLE_PLACES_FLUTTE:未手动异常:空检查操作员在空值上使用 我已经在Google Map上实现了搜索功能,用于使用Google_places_flutter库。以下是实现的代码, Google Placeautoc -opteretextfield( texteditingController:

GooglePlaceAutoCompleteTextField( textEditingController: _searchController, googleAPIKey: mapKey, isCrossBtnShown: false, radius: 16, inputDecoration: const InputDecoration( hintText: "Search Location...", border: UnderlineInputBorder( borderSide: BorderSide(color: Colors.black54), borderRadius: BorderRadius.zero, ), enabledBorder: UnderlineInputBorder( borderSide: BorderSide(color: Colors.black54), borderRadius: BorderRadius.zero, ), focusedBorder: UnderlineInputBorder( borderSide: BorderSide(color: Colors.blue), ), focusedErrorBorder: UnderlineInputBorder( borderSide: BorderSide(color: Colors.red), borderRadius: BorderRadius.zero, ), contentPadding: EdgeInsets.only(left: 12.0), fillColor: Colors.transparent, filled: false, ), boxDecoration: BoxDecoration( borderRadius: BorderRadius.circular(0.0), ), debounceTime: 800, isLatLngRequired: true, getPlaceDetailWithLatLng: onPlaceSelected, ), void onPlaceSelected(dynamic place) async { double lat = place['geometry']['location']['lat']; double lng = place['geometry']['location']['lng']; await _updateLocation(lat, lng); }

回答 1 投票 0


无需查看位置(遗产)服务以启用IT

我需要启用位置(新)和地点(遗产)服务,但我看不到UI中的位置(旧版)服务用于启用服务。您能告诉我在哪里可以启用(遗产)服务,以便我的API键开始为自动完成工作吗?

回答 0 投票 0


request_deniedGoogle Maps API V3位置错误

Https://maps.googleapis.com/maps/api/place/search/xml?位置= 47.1738409069289,27.574825862967&radius&radius&radius&radius&radius = 1000&name = atm = atm = atm = atm = atm = atm = aim&key&keya =aizasya5ayxmm7Moyxmm7ModyGwo

回答 3 投票 0

google ploce api-无效的API键

任何人都知道该API的新版本是否有任何问题?由于某种原因,我的API呼叫一直在说通过密钥传递是无效的。我验证了它与正确的项目ID相关的A ...

回答 1 投票 0


我试图找到该解决方案,我尝试了所有解决方案,喜欢使用

回答 2 投票 0

当我检查我的API键正在工作并能够调用必要的地图API时,我为什么继续获取ApinotactivativatedMaperror? 我正在尝试使用Google Maps API自动完成功能为文本输入字段创建React组件。这是我到目前为止的代码: “使用客户端” 导入反应,{useref ...

"use client" import React, { useRef } from "react"; import { useJsApiLoader, StandaloneSearchBox } from "@react-google-maps/api"; export default function LocationSearch() { const inputRef = useRef<google.maps.places.SearchBox | null>(null); const { isLoaded } = useJsApiLoader({ id: 'google-map-script', googleMapsApiKey: process.env.NEXT_PUBLIC_MAPS_API_KEY as string, libraries: ["places"] }) const handleOnPlacesChanged = () => { let address = inputRef.current?.getPlaces(); } return ( <> { isLoaded && <StandaloneSearchBox onLoad={(ref) => inputRef.current = ref} onPlacesChanged={handleOnPlacesChanged}> <input type="text" placeholder="Enter location"/> </StandaloneSearchBox> } </> ); }

回答 2 投票 0


有一个API提供企业或商店的开放日期?

i尝试了Google Places API,但仅包括纬度,经度和业务状态 - 不可用的日期开放和关闭日期。我还测试了Yelp Fusion API,该API声称在其文档中提供了这些日期。但是,当我检查了一些业务时,这些领域是空的,要么是响应中缺少的。

回答 1 投票 0

google将API放置为unity3d

让你新年快乐!! 是否有人将Google Places API用于Unity3D?我正在尝试使用Unity3D中的plote API制作一个增强现实应用程序。我遵循这里提到的所有步骤 我...

回答 0 投票 0


Google位置API,获得20-60以上的结果

标题已经放弃了。我想获得我所在地区所有餐馆的清单。 Google位置限制“近亲搜索”请求最多为20(分页)。 什么方法...

回答 1 投票 0

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.