Indicates the number of levels of predefined subdivisions.
Note that a country might use a subdivision field without having
predefined subdivisions for it.
For example, if the locality field is used by the address format, but
the subdivision depth is 1, that means that the field element should be
rendered as a textbox, since there's no known data to put in a dropdown.
It is also possible to have no subdivisions for specific parents, even
though the country generally has predefined subdivisions at that depth.
public getSubdivisionDepth ( ) : integer | ||
return | integer | The subdivision depth. Possible values: 0: no subdivisions have been predefined. 1: administrative areas. 2: administrative areas, localities. 3: administrative areas, localities, dependent localities. |