Skip to content
Snippets Groups Projects
Commit 6abf05f7 authored by Glenn Vorhes's avatar Glenn Vorhes
Browse files

fix map popup style

parent 8d50e43a
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,11 @@ export declare class MapPopupCls extends MapInteractionBase {
* @returns the new selection layer
* @private
*/
_addPopupLayer(lyr: any, selectionStyle: any): ol.layer.Vector;
_addPopupLayer(lyr: LayerBaseVector, selectionStyle: {
color?: string;
width?: number;
olStyle?: ol.style.Style;
}): ol.layer.Vector;
/**
* Add popup to the map
* @param {LayerBase|*} lyr The layer that the popup with act on
......
This diff is collapsed.
......@@ -413,7 +413,7 @@ export class MapPopupCls extends MapInteractionBase {
* @returns the new selection layer
* @private
*/
_addPopupLayer(lyr, selectionStyle): ol.layer.Vector {
_addPopupLayer(lyr: LayerBaseVector, selectionStyle: {color?: string, width?: number, olStyle?: ol.style.Style}): ol.layer.Vector {
this._checkInit();
selectionStyle = selectionStyle || {};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment