Skip to main content
Module

x/netlify_cms_config/mod.ts>Map

Netlify CMS config generator
Latest
class Map
extends Field<Options>
Re-export
import { Map } from "https://deno.land/x/netlify_cms_config@v0.3.2/mod.ts";

Constructors

new
Map(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

Static Properties

defaults: Options