Skip to content

GeoadminOptions ​

Reference documentation: https://api3.geo.admin.ch/services/sdiservices.html#search

Properties ​

PropertyTypeDescription
features?string[]A list of technical layer names; only applies when type is 'featuresearch'
lang?"de" | "fr" | "it" | "rm" | "en"Default is 'en'
limit?numberDefault value is 50 for 'locations', 20 for 'featuresearch', 30 for 'layers'
origins?("zipcode" | "gg25" | "district" | "kantone" | "gazetteer" | "address" | "parcel")[]Defaults to 'zipcode,gg25'; only applies when type is 'locations'
sr?"21781" | "2056" | "4326" | "3857"Defaults to 4326
type?"locations" | "featuresearch" | "layers"Default is 'locations'