how to Load my mapId #2594
Answered
by
jeonghun-project
jeonghun-project
asked this question in
Q&A
Replies: 1 comment
-
<LoadScript
mapIds={['mymapid']}
googleMapsApiKey={process.env.REACT_APP_GOOGLE_API_KEY as string}>
<GoogleMap
zoom={2.3}
center={{ lat: 0, lng: 150.644 }}
mapContainerStyle={{
width: '100%',
height: '100%',
}}
options={{
mapId: 'mymapid',
}}
/> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jeonghun-project
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
i want to load my custom map style from mapId
when use LoadScript add mapids my mapId
but is not working
only display without style
this is my Code
what's the matter?
Beta Was this translation helpful? Give feedback.
All reactions