Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
derekmichaelwright committed Oct 21, 2024
1 parent 80f5531 commit 0d1175f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/mapBubbles2.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ mapBubbles2 <- function (dF = "", nameX = "longitude", nameY = "latitude",
if (!add) {
rwmNewMapPlot(mapToPlot = dF, oceanCol = oceanCol,
mapRegion = mapRegion, xlim = xlim, ylim = ylim)
plot(dF, add = TRUE, border = borderCol, col = landCol,
raster::plot(dF, add = TRUE, border = borderCol, col = landCol,
main = main, lwd = lwd)
}
dF <- dF@data
}
else if (!add) {
rwmNewMapPlot(mapToPlot = getMap(), oceanCol = oceanCol,
mapRegion = mapRegion, xlim = xlim, ylim = ylim)
plot(getMap(), add = TRUE, border = borderCol, col = landCol,
raster::plot(getMap(), add = TRUE, border = borderCol, col = landCol,
main = main, lwd = lwd)
}
singleColour <- FALSE
Expand Down

0 comments on commit 0d1175f

Please sign in to comment.