emilhe / dash-leaflet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Map API Key

Krowryy opened this issue · comments

Hello !

I’m adding Google maps layers to my application via this layout:

dl.TileLayer(url="https://www.google.cn/maps/vt?lyrs=s@189&gl=cn&x={x}&y={y}&z={z}")

That works, but it is illegal. I would prefer to pass my API key to the Google maps server, and hit their API instead of a server directly, so I can be legal and not hit my use limit.

Is there currently a way of doing that via configuration?

Thanks