Companion
object Companion
Bit positions for the woosmap_types styleable attribute.
Convention: keep related families adjacent — the admin_level family (admin_level + admin_level_1/2/3) occupies bits 1-4, settlement / address types follow from bit 5. New flags should slot in next to the family they belong to rather than appending at the high end.
Integer values are an SDK implementation detail; host layouts must use the symbolic form (app:woosmap_types="locality|admin_level_1"). Pinned to res/values/attrs.xml by LocalitiesTypesAttrsTest — that test fails if either side is changed without the other.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Build a list of LocalitiesTypes from bit flags. Maps each set bit in flags to a LocalitiesTypesEnum via BIT_TO_TYPE.