
[英]I want to create boundaries of a zipcode using google map api
我想使用 google map places api 创建邮政编码的边界,但无法找到边界坐标。 当我在 maps.google.com 上搜索邮政编码时,我注意到它显示了该特定邮政编码的虚线边界。 如何使用谷歌服务实现这一目标? ...
[英]I want to create boundaries of a zipcode using google map api
我想使用 google map places api 创建邮政编码的边界,但无法找到边界坐标。 当我在 maps.google.com 上搜索邮政编码时,我注意到它显示了该特定邮政编码的虚线边界。 如何使用谷歌服务实现这一目标? ...
[英]React not returning multiple components
我正在使用谷歌地图 api 来显示谷歌 map 上的标记列表以及信息 window。此代码正确地遍历所有位置坐标并为每个纬度和经度放置标记。 对于每个标记,我想显示一个单独的信息窗口应该出现,但是下面的代码给出了一些不匹配的括号的错误。 这是代码;我曾尝试使用 fragmant 和 div 标签,但 ...
[英]Infowindow on Marker Cluster - @react-google-maps
有什么方法可以在@react-google-maps中的标记集群上显示信息 Window,我们已经在单个标记上显示了信息 window,它工作得很好,但没有找到为标记集群显示相同信息的方法. 我已经尝试了什么? 我试图在标记集群中添加一个信息 window 就像一个内部组件 但这对集群不起作用, ...
[英]Problem with Markers ---> Google Maps API Javascript
你能帮我解决这个问题吗? 我的仪表板是这样工作的:我必须在 map 上找到一个流动站(旗帜图标),然后我必须在 map 上添加标记来模拟流动站必须执行的航路点,当我按下开始按钮时,我必须看到流动站移动到我用标记创建的每个航路点,到最后一个并停在那里。 我的问题是流动站(旗帜图标)只移动到最后输入的 ...
[英]How to avoid rerender on clearMarkers at MarkerClusterer?
我正在使用https://googlemaps.github.io/js-markerclusterer/index.html在 google map 上显示和聚类标记。 我使用 CDN <script src="https://unpkg.com/@googlemaps/markerclu ...
[英]Remove google.maps.marker.AdvancedMarkerView from map
我有一个 map,它根据搜索填充标记。 我正在尝试使用较新的谷歌地图功能AdvancedMarkerView ,因此我可以用自定义 HTML 填充它 - 但是,随着我的搜索更新,我想刷新旧标记并在需要时放置新标记......我可以'为我的生活弄清楚如何? https://developers.g ...
[英]My graduation project ….how i can add a map zone to my android application
我将描述我的整个项目想法 首先它是 android 应用程序 关于我们如何使用 QR 作为大学生参加我们的讲座 作为教授将生成 QR 码 作为学生将使用应用程序相机签入 Qr code 这是我希望你关注的重点 ✨ 如果学生检查 QR 并且他真的在大学他会检查没有任何问题但是如果情况不在大学? (例 ...
[英]How to use MarkerClusterer with @googlemaps/react-wrapper
在按照 google 提供的使用@googlemaps/react-wrapper 添加 map 和标记到反应应用程序的示例之后,我决定尝试向我的应用程序添加标记聚类。 但是,我无法让集群出现。 我尝试关注这个问题/答案,但尽管添加了new MarkerClusterer({ ref, marker ...
[英]Marker Clustering in Google maps: how to set custom label
我正在尝试实现集群标记,其中我的每个标记都有一些与之关联的数据。 我使用js-markerclusterer库制作了一个标记集群。 我想将选定的标记放入我的集群中,我可以在其中对该标记进行一些内部计算,并对标记集群进行自定义 label。 制作标记簇的代码如下: 如何仅在渲染object 中访问选 ...
[英]Google Maps API 'TypeError: Cannot read properties of undefined (reading 'maps')' when loading component using onMount() in Vue3
我正在创建一个 Vue 应用程序并使用 Google Maps API 来呈现 map 但是当我尝试加载它时,我收到错误“类型错误:无法读取未定义的属性(读取‘地图’)” 我不知道这个错误是从哪里来的,因为我使用以下命令导入了 google map Loader function: 我假设它来自这里 ...
[英]I can't get Googe API to access my php arrays with latitude and longitude
I query the latitud and longitud from my database and stored these values in php using arrays. Since I have to use javaScript to use the Google API I ...
[英]Flutter_map widget returns a black screen when called?
我想做什么我基本上想在 flutter 中包含一个超级相似的用户位置跟踪 map,并且我正在使用flutter_map 。 问题小部件在我的应用程序中返回黑屏。 我已经添加了所有必要的参数和绑定条件,问题没有解决。 有问题的代码 ...
[英]Remove the Google map labels
我想使用 JS API 从 Google 地图中删除所有街道名称和其他地点。 我只需要一个完全没有标签的 map。 我尝试添加 v3 地图 API 的样式化 Map 功能以删除标签,但它仅在我删除 mapId 时有效,并且在删除 mapId 后倾斜和旋转不起作用。 代码片段: 我怎样才能实现它? ...
[英]using google maps api, how to get country, state, and city from lat and long?
我是我的 React 应用程序,我正在使用库@react-google-maps/api和react-places-autocomplete 。 我如何获得国家,state,给定纬度和经度坐标的城市? 如何获取格式化的地址、地点、经纬度? ...
[英]how to hide google maps token in react app?
这是我需要放入我的 index.html 文件的内容,以便我的 react 应用程序能够访问谷歌地图 API。 如何隐藏令牌? ...
[英]How do I display markers on click and get coordinates using google-maps-react API
所以我有一个非常简单的反应应用程序,它在反应中使用谷歌地图 API 并尝试在用户单击 map 上的任何点时显示标记。 我现在在初始中心指定的 position 上看到一个标记。 我想要做的是能够在用户点击 map 时显示一个标记并获取它的坐标我有 mapClicked function 但我很困惑如 ...
[英]Vue Google Maps - JavaScript API error: NotLoadingAPIFromGoogleMapsError
嗨,我正在尝试将我的 api 密钥添加到我的谷歌 map。 当我使用密钥的字符串版本时,一切都很好,但我不想这样做,我想将密钥保留在 my.env 文件中。 但是,当我进行更改时,我无法获得 Google 地图 JavaScript API 错误:NotLoadingAPIFromGoogleMa ...
[英]My App is Crashing while using google maps
这是崩溃时的错误:- 在从另一个屏幕快速导航到底部导航栏中的 map 屏幕时出现错误。 ...
[英]Jetpack Compose: How to click on Maker in Google Maps?
我使用官方的 Google Maps Compose 库,但我无法理解...如何实现点击标记?@Composable fun MapContent(city: City) { val pos = LatLng(city.latitude, city.longitude) val ...
[英]How to extract datetime of a location when it was added to the google maps?
我正在尝试在将位置图钉添加到 Google 地图中时提取它的日期时间。 例如,如果我在某个地区搜索麦当劳,那么它应该为该地区的所有麦当劳地点及其日期时间提供日期时间。 有没有办法提取这些数据。 PS这个问题可能不属于这里,所以对此表示歉意。 我尝试过其他论坛,但找不到任何相关信息。 ...