Replies: 1 comment
-
First of all, one has to differentiate from I don't know of any examples using MapLibre React Native and Google Tiles. But I guess you could follow their instructions here.
<RasterSource
id="google-raster-source"
tileUrlTemplates={[
`https://tile.googleapis.com/v1/2dtiles/{z}/{x}/{y}?session=${YOUR_SESSION_TOKEN}&key=${YOUR_API_KEY}`,
]}
tileSize={256}
attribution="© Google Maps"
maxZoomLevel={19}
>
<RasterLayer id="google-raster-layer" />
</RasterSource> You can also have a look at the MapLibre GL JS Plugin for Google Maps. But only for comparison, there is no support for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to use Google Maps as map provider. I already have an account with API key. With react-native-maps, we could just provide the api key inside the manifest and it worked. Here, I am not sure how to proceed
Beta Was this translation helpful? Give feedback.
All reactions