Skip to content

Commit

Permalink
naming conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
Nour-Cheour10 authored May 30, 2024
1 parent dc7488d commit bbf47b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class MapView extends DOMWidgetView {
this,
);

this.overlayViews = new ViewList<ImageOverLayView>(
this.overlayViews = new ViewList<ImageOverlayView>(
this.addOverlayModel,
this.removeOverlayView,
this,
Expand Down Expand Up @@ -105,7 +105,7 @@ export class MapView extends DOMWidgetView {
}

overlayChanged() {
const overlay = this.model.get('overlays') as ImageOverLayModel[];
const overlay = this.model.get('overlays') as ImageOverlayModel[];
this.overlayViews.update(overlay);
}

Expand Down Expand Up @@ -205,7 +205,7 @@ export class TileLayerView extends WidgetView {
});

this.urlChanged();
this.model.on('change:url', this.url_changed, this);
this.model.on('change:url', this.urlChanged, this);
}

urlChanged() {
Expand Down Expand Up @@ -255,7 +255,7 @@ export class ImageOverlayView extends DOMWidgetView {
render() {
super.render();
console.log('Render called');
this.update_image_element();
this.updateImageElement();
}

initialize(parameters: WidgetView.IInitializeParameters<WidgetModel>) {
Expand Down

0 comments on commit bbf47b2

Please sign in to comment.