GeoRangePadding

GeoRangePadding
is an option for GeoGraphics that specifies what padding to use when extending beyond the original ranges of latitude and longitude.

DetailsDetails

  • The settings can be of the following forms:
  • pthe same padding in all directions
    {plat,plon}different padding for latitude and longitude
    {{pS,pN},{pW,pE}}different padding for south, north, west, and east
  • For each direction the following forms can be used:
  • Automatican automatic amount of padding
    Noneno padding
    quantitya Quantity object
    Scaled[s]a fraction of the angular latitude and longitude ranges
  • GeoRangePadding->Full pads to cover the whole region shown by the map's PlotRange. GeoRangePadding->{padspec,Full} pads the geo range as specified by padspec and then adds extra padding to cover the whole region shown by the map's PlotRange.
  • GeoRangePadding can take Quantity angles and lengths. Angles are interpreted as directly extending the angular geo range, while lengths are used as radii for geo disks around the corners of the geo range. Raw numbers are taken to be lengths in meters.
  • GeoRangePadding extends GeoRange before projection.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

By default, some padding is added around objects in maps:

In[1]:=
Click for copyable input
Out[1]=

Use GeoRangePadding->None to remove padding:

In[2]:=
Click for copyable input
Out[2]=

Use 50 kilometers of padding on each side of the map:

In[1]:=
Click for copyable input
Out[1]=

Specify padding for latitude only:

In[2]:=
Click for copyable input
Out[2]=

Specify different padding on each side of the map:

In[3]:=
Click for copyable input
Out[3]=

Pad inward on each side:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2014
(10.0)