@@ -157,7 +157,7 @@ export const useGeoLocationStore = defineStore('plugins/geoLocation', () => {
157157
158158 const boundaryCheckPassed = await passesBoundaryCheck (
159159 coreStore . map ,
160- configuration . value . boundaryLayerId ,
160+ configuration . value . boundary . layerId ,
161161 coordinatesInMapCrs
162162 )
163163
@@ -166,7 +166,7 @@ export const useGeoLocationStore = defineStore('plugins/geoLocation', () => {
166166
167167 const showBoundaryLayerError =
168168 typeof boundaryCheckPassed === 'symbol' &&
169- configuration . value . boundaryOnError === 'strict'
169+ configuration . value . boundary . onError === 'strict'
170170
171171 if ( ! isCoordinateInExtent || showBoundaryLayerError ) {
172172 printPositioningFailed ( showBoundaryLayerError )
@@ -314,26 +314,31 @@ export const useGeoLocationStore = defineStore('plugins/geoLocation', () => {
314314 return {
315315 /** @internal */
316316 setupPlugin,
317+
317318 /** @internal */
318319 teardownPlugin,
320+
319321 /**
320322 * The plugin's current state. It can either currently have the user's
321323 * position ('LOCATED'), be ready to retrieve it ('LOCATABLE'), or be
322324 * disabled ('DISABLED') due to the user or browser settings not allowing
323325 * the Geolocation API access.
324326 */
325327 state,
328+
326329 /**
327330 * The action that would currently unfold upon clicking the icon, depending
328331 * on the state. If the state is 'DISABLED', nothing is done. In the other
329332 * states, the geolocation procedure is (re-)run.
330333 */
331334 action,
335+
332336 /**
333337 * While in state 'LOCATED', the user's location's coordinated are available
334338 * as [number, number] of the map's configured CRS.
335339 */
336340 position,
341+
337342 /**
338343 * Initially null. If no boundary check is configured or the check is
339344 * passed, this field holds `true`. If the boundary check is not passed,
0 commit comments