Skip to content

Commit

Permalink
fix:Doubled featureloadstart events
Browse files Browse the repository at this point in the history
Feature load start is dispatched by OL even for custom loaders
  • Loading branch information
FilipLeitner authored and jmacura committed Feb 23, 2024
1 parent f565a07 commit bd40e30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projects/hslayers/shared/add-data/url/hs.source.WfsSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ export class WfsSource extends VectorSource {
hsUtilsService.paramsToURLWoEncode(params),
].join('?');
url = hsUtilsService.proxify(url);
this.dispatchEvent('featuresloadstart');
//this.dispatchEvent('featuresloadstart');

http.get(url, {responseType: 'text'}).subscribe({
next: (response) => {
const features = readFeatures(
Expand Down

0 comments on commit bd40e30

Please sign in to comment.