Center location—Circle

Prev Next

Draw a circle around a target or central location

Map showing a full circle drawn around a central location pin.

The extension also allows users to place a circle around the center pin. This can be done by adding parameters to the formula that enable the circle to be shown:

  • circleRad—The radius of the circle in miles. If a % is passed into this parameter such as 50%, then the circle's radius is half of the rad parameter.

  • circleColor—Determines the color of the circle. Can be either the hex value (#00FFFF) or the color name (Blue). The color names allowed are listed on the W3C CSS color keywords page.

  • colorFill—Determines whether the circle is filled in.

Note

The circle only appears if QB Maps finds the center record. To display a center pin, see Center location—Radius.

Examples

Tip

Example 1:

DodgerBlue color and a radius of 2.5 miles:
Example Formula URL configuring a DodgerBlue circle with a 2.5-mile radius.Map showing a DodgerBlue circle with a 2.5-mile radius around the center pin.

Tip

Example 2:
Crimson color and a radius of 75% of the rad parameter:

Example Formula URL configuring a Crimson circle with a radius set to 75% of the rad parameter.     Map showing a Crimson circle with a radius of 75% of the rad parameter around the center pin.