Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying the maptype to be shown #18

Open
Zandor300 opened this issue Feb 18, 2021 · 1 comment
Open

Allow specifying the maptype to be shown #18

Zandor300 opened this issue Feb 18, 2021 · 1 comment

Comments

@Zandor300
Copy link

Zandor300 commented Feb 18, 2021

I would love to be able to set the maptypes through props:

<AppleMaps
    mapType="hybrid" // standard | mutedStandard | hybrid | satellite
/>

Or specify a default one that should be shown on startup, while still allowing the user to cycle through them:

<AppleMaps
    defaultMapType="hybrid" // standard | mutedStandard | hybrid | satellite
/>

See:

@tonyduanesmith
Copy link
Owner

Definitely seems useful, ill have a look at adding it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants