Gfi: {
displayFeatureInfo: (
map: Map,
olCoordinate: Coordinate,
gfiLayers: any[],
proxyOptions?: { noProxyDomains?: string[]; proxyUrl?: string },
autoPanOptions?: {
autoPan?: boolean;
autoPanAnimation?: any;
autoPanMargin?: number;
},
) => void;
displayInfo: (
map: Map,
coords: Coordinate,
content: string,
contentType?: string,
autoPanOptions: {
autoPan?: any;
autoPanAnimation?: any;
autoPanMargin?: number;
},
) => boolean;
displayVectorFeatureInfo: (
map: Map,
olCoordinate: Coordinate,
olLayers: Layer[],
autoPanOptions: any,
) => boolean;
features2html: (map: Map, features: Features[]) => HTMLElement;
getLayerFormat: (l: Layer) => string;
getPosition: (e: any, map: any) => any;
layerGetFeatureAtCoordinates: (
map: Map,
olLayer: Layer,
olCoordinate: Coordinate,
) => boolean;
onDisplayFeatureInfo: (e: any, gfiObj: any) => void;
} = ...
Type declaration
displayFeatureInfo: (
map: Map,
olCoordinate: Coordinate,
gfiLayers: any[],
proxyOptions?: { noProxyDomains?: string[]; proxyUrl?: string },
autoPanOptions?: {
autoPan?: boolean;
autoPanAnimation?: any;
autoPanMargin?: number;
},
) => void
displayInfo: (
map: Map,
coords: Coordinate,
content: string,
contentType?: string,
autoPanOptions: {
autoPan?: any;
autoPanAnimation?: any;
autoPanMargin?: number;
},
) => boolean
displayVectorFeatureInfo: (
map: Map,
olCoordinate: Coordinate,
olLayers: Layer[],
autoPanOptions: any,
) => boolean
features2html: (map: Map, features: Features[]) => HTMLElement
getLayerFormat: (l: Layer) => string
getPosition: (e: any, map: any) => any
layerGetFeatureAtCoordinates: (map: Map, olLayer: Layer, olCoordinate: Coordinate) => boolean
onDisplayFeatureInfo: (e: any, gfiObj: any) => void
Method to manage the request of information from a list of layers already added to the map. Among the given list of layers only the visible ones are requested. The priority is given to the upper layer having a feature at the pointed coordinates. If the first (upper) feature encountered is from a vector layer the info popup will display the information of the features from all visible vector layers and located at the specified coordinates.