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

ggmap() + facet_wrap(scales = "free") #363

Open
mhollanders opened this issue May 30, 2024 · 0 comments
Open

ggmap() + facet_wrap(scales = "free") #363

mhollanders opened this issue May 30, 2024 · 0 comments

Comments

@mhollanders
Copy link

Hi,

I noticed that it's not possible to facet_wrap() a ggmap() object with free scales, so that each facet is essentially "zoomed in" on the relevant part of the map. In my use case, this is relevant for wanting to show spatial locations of sites nested within disparate regions. Is it possible to include this feature in ggmap, or otherwise, are there any workarounds? The issue I'm running into with get_stadiamap() is that I don't know how to create square maps. If I could somehow fix the aspect ratio of each map, I could use patchwork or similar to make a combined plot.

Thanks!

Matt

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

1 participant