Skip to content

Commit cbe13b3

Browse files
committed
Minor fix
1 parent 090016d commit cbe13b3

3 files changed

+6
-5
lines changed

dist/azure-maps-html-marker-layer.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,11 @@ MIT License
257257
_this._wrappedEvent = function (e) {
258258
_this.map.events.invoke(e.type, _this, e);
259259
};
260-
/*super(source, id, <azmaps.BubbleLayerOptions>{
260+
_super.prototype.setOptions.call(_this, {
261261
color: 'transparent',
262262
radius: 0,
263263
strokeWidth: 0
264-
});*/
264+
});
265265
_this.setOptions(options || {});
266266
return _this;
267267
}

dist/azure-maps-html-marker-layer.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/layer/HtmlMarkerLayer.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,12 @@ export class HtmlMarkerLayer extends azmaps.layer.BubbleLayer {
5454
*/
5555
constructor(source?: string | azmaps.source.Source, id?: string, options?: HtmlMarkerLayerOptions) {
5656
super(source, id);
57-
/*super(source, id, <azmaps.BubbleLayerOptions>{
57+
58+
super.setOptions(<azmaps.BubbleLayerOptions>{
5859
color: 'transparent',
5960
radius: 0,
6061
strokeWidth: 0
61-
});*/
62+
});
6263

6364
this.setOptions(options || {});
6465
}

0 commit comments

Comments
 (0)