Center location—Circle

Prev Next

Draw a circle around a target or central location

The extension 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:

& "&circleRad=2.5"
& "&circleColor=DodgerBlue"

& "&circleFill=True"
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:

& “&rad=5”

& "&circleRad=75%"
& "&circleColor=Crimson"

& "&circleFill=True"

Map showing a Crimson circle with a radius of 75% of the rad parameter around the center pin.