ggplot cutting off state border lines
I’m trying to create a map around Arizona and Sonora featuring political border lines for both the US and Mexico. I’ve created data frames for the US and Mexican borers using geodata
. These seem to plot jsut fine onto my google-derived base map at low zoom. The issue arises when I restrict the x and y limits to zoom in on my area of focus. The border lines don’t extend to the end of the zoomed in plot. It’s almost like the boundaries of the ggplot don’t actually extend to the full extent of the base map. Any idea what’s happening here, or how I can fix it? Also, unfortuntely my code requires an API key so you might not be able to run it all if you don’t have one. Apologies!