SetMapBackground()

Summary

Changes the background color and fill style of a map.

Syntax

SetMapBackground(string map_name, color back_color, fillstyle back_fill)

Argument Contents
map_name The name of the map, or null for the current map
back_color The color of the map background
back_fill The fill pattern of the map background

Notes

  • The entire map window is filled with its background pattern and color before any layers are drawn.

Example

// Set the map background to look like water
str = "XXXXXXXX"
solid = FillStyle({str, str, str, str, str, str, str, str})
SetMapBackground("Countries", ColorRGB(0, 0, 65000), solid)

See Also

Function Summary
GetMapBackground() Gets the color and fill style of the map background