Skip to content

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

@mhollanders

Description

@mhollanders

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions