Skip to main content

Border

The map service supports an optional border query parameter to control whether a border is added to the generated image and to customize its appearance.

Basic Behavior

  • The border is not added by default (if nothing is passed).
  • If only partial information is provided, only the specified properties are applied.

Parameter Format

The border parameter accepts key-value pairs separated by |, for example:

&border=width:2|color:#ff0000

Supported Keys

KeyDescriptionExample
widthBorder width in pixels (integer)width:3
colorBorder color in hexadecimal format. Must be e.g. ffffff; the missing # will be added automaticallycolor:ff0000
Border example request

Border example