diff --git a/projects/vectortile-demo/src/app/search/search.component.ts b/projects/vectortile-demo/src/app/search/search.component.ts index f38b593..556aba9 100644 --- a/projects/vectortile-demo/src/app/search/search.component.ts +++ b/projects/vectortile-demo/src/app/search/search.component.ts @@ -54,7 +54,7 @@ export class SearchComponent implements OnInit { const ogc = this.locationService.OgcAPI if (ogc) { const t = this.findTokens(search, ogc.lokaalIdRegex) - if (t.length > 0) { + if (t.length > 6) { const lokaalid = t[0] this.$ids = this.idlookupService.existsId(ogc.url, lokaalid) }