Skip to content

Commit

Permalink
Remove zoom 10 limitation for POIs.
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Oct 2, 2024
1 parent 7381361 commit f3cd227
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions IsraelHiking.Web/src/application/services/poi.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,6 @@ export class PoiService {
}

private getPoisFromTiles(): GeoJSON.Feature<GeoJSON.Geometry, PoiProperties>[] {
if (this.mapService.map.getZoom() <= 10) {
return [];
}
let features: MapGeoJSONFeature[] = [];
for (const source of Object.keys(PoiService.POIS_MAP)) {
features = features.concat(this.mapService.map.querySourceFeatures(source, {sourceLayer: PoiService.POIS_MAP[source].sourceLayer}));
Expand Down

0 comments on commit f3cd227

Please sign in to comment.