mirror of
https://github.com/google-map-react/google-map-react.git
synced 2025-12-08 18:26:32 +00:00
Update README.md
This commit is contained in:
parent
e37242b5a7
commit
ea7d32badf
16
README.md
16
README.md
@ -102,10 +102,24 @@ export default class SimpleMapPage extends Component {
|
||||
|
||||
### parameters
|
||||
|
||||
####apiKey (string)
|
||||
####apiKey (string) (_Deprecated use bootstrapURLKeys_)
|
||||
|
||||
Google maps api key. (Optional, but your map will be rate-limited with no key)
|
||||
|
||||
####bootstrapURLKeys (object)
|
||||
|
||||
Example:
|
||||
|
||||
```javascript
|
||||
<GoogleMap
|
||||
bootstrapURLKeys={{
|
||||
key: API_KEY,
|
||||
language: 'ru',
|
||||
...otherUrlParams,
|
||||
}}
|
||||
>
|
||||
```
|
||||
|
||||
####defaultCenter (array or object)
|
||||
|
||||
`[lat, lng]` or `{ lat: lat, lng: lng}`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user