You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

请求获取GMap.NET中GMapProviders.GoogleMap的API访问URL(WinForms代理场景)

GMap.NET GoogleMap Provider API URLs for Whitelisting

Hey there! I’ve worked with GMap.NET before, so I can tell you exactly which URLs you need to share with your security team to get those map tiles loading again.

For the GMapProviders.GoogleMap (standard road map) provider in GMap.NET, it pulls tiles from Google's static map tile servers. The core URLs follow this pattern, using one of four subdomains for load balancing:

  • https://mt0.google.com/vt/lyrs=m&x={tileX}&y={tileY}&z={zoomLevel}
  • https://mt1.google.com/vt/lyrs=m&x={tileX}&y={tileY}&z={zoomLevel}
  • https://mt2.google.com/vt/lyrs=m&x={tileX}&y={tileY}&z={zoomLevel}
  • https://mt3.google.com/vt/lyrs=m&x={tileX}&y={tileY}&z={zoomLevel}

A quick breakdown of key parts:

  • mt0 to mt3: These are Google's tile server subdomains (GMap.NET rotates between them to distribute traffic)
  • /vt/: The base path for Google's vector tile service that GMap.NET relies on
  • lyrs=m: This parameter specifies the standard road map type (since you’re using GMapProviders.GoogleMap, this is the critical value for your use case)
  • x, y, z: Dynamic placeholders for tile coordinates and zoom level that GMap.NET auto-populates when fetching tiles

To cover all scenarios, ask your security team to whitelist all four mt*.google.com domains over HTTPS (port 443), specifically allowing requests to the /vt/ path with any query parameters attached. This ensures GMap.NET can switch between subdomains without getting blocked.

内容的提问来源于stack exchange,提问作者Yan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.30 03:27:47