Modify way to retrieve shorelines on the fly to prevent too much data being sent