Skip to contents

Get one of the settings that limit how much detail a map of many sites shows

Usage

map_size_setting(vname)

Arguments

vname

name of the setting, such as "default_max_pts_show_detailed_popups"

Value

a number

Details

These settings are defined in global_defaults_package.R, and the web app can override them via ejamapp(). This function also works where those defaults are not available, such as when EJAM functions are called via EJAM:: without attaching the package, by falling back to built-in values.

  • default_max_pts_show_detailed_popups (1,000): above this many sites, popups are short.

  • default_max_pts_map_show_unclustered (5,000): above this many points, they are clustered markers.

  • default_max_pts_map_show_in_downloaded_report (20,000): above this many points, the downloaded report shows a static image of the map.

  • default_max_shapes_map_show_in_downloaded_report (20,000): the same for polygons.

  • default_max_shapes_map_unsimplified (500): above this many polygons, shapes are simplified.