Skip to main content
Module

x/netlify_cms_config/fields/map.ts>default

Netlify CMS config generator
Latest
class default
extends Field<Options>
import { default } from "https://deno.land/x/netlify_cms_config@v0.3.2/fields/map.ts";

Constructors

new
default(label: string, config?: Options)

Properties

widget: string

Methods

decimals(value: number): this

Accepts a number to specify precision of saved coordinates. defaults to 7 decimals

default(value: string): this

Accepts a GeoJSON string containing a single geometry.

type(value: "Point" | "LineString" | "Polygon"): this

Accepts one string value of Point, LineString or Polygon. Defaults to Point