GitHub user dosubot[bot] added a comment to the discussion: Implementing Google 
Maps in Map Graphics

<!-- Answer -->
Superset does not natively support Google Maps as a map tile provider or for 
routing. The built-in map visualizations use Mapbox and OpenStreetMap, and 
route/path layers are rendered as straight lines between coordinates, not 
following actual roads or streets 
([source](https://github.com/apache/superset/pull/34204), 
[source](https://github.com/apache/superset/blob/master/superset/examples/deck.py)).
 

To display realistic routes that follow roads, you need to preprocess your 
route data using an external routing service (like the Google Maps Directions 
API, OpenRouteService, or OSRM). These services can generate polylines or 
GeoJSON paths that follow actual streets. You can then import this processed 
data into Superset and visualize it as a path or line layer.

If you want to use Google Maps tiles or APIs directly, be aware that Google 
Maps terms of service generally prohibit using their tiles outside of their own 
SDKs and platforms, and there are licensing and API key restrictions. 
Superset’s map configuration supports custom tile URLs, but Google Maps tiles 
are not officially supported or documented 
([source](https://github.com/apache/superset/pull/34204)). 

In summary: preprocess your route data externally to follow roads, then import 
it into Superset for visualization. Native Google Maps integration is not 
available.


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/464e92f7-cf31-4408-8fdf-02415b4deec2?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/464e92f7-cf31-4408-8fdf-02415b4deec2?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/464e92f7-cf31-4408-8fdf-02415b4deec2?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/464e92f7-cf31-4408-8fdf-02415b4deec2?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/464e92f7-cf31-4408-8fdf-02415b4deec2?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/464e92f7-cf31-4408-8fdf-02415b4deec2?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/464e92f7-cf31-4408-8fdf-02415b4deec2?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&
 nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/35664)

GitHub link: 
https://github.com/apache/superset/discussions/35664#discussioncomment-14689038

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to