/** * Created by gavorhes on 12/8/2015. */ import LayerBaseVectorGeoJson from './LayerBaseVectorGeoJson'; /** * Its Layer class * @augments LayerBaseVectorGeoJson */ declare class LayerItsInventory extends LayerBaseVectorGeoJson { /** * ITS device layer, types available at https://transportal.cee.wisc.edu/its/inventory/ * @param {object} options - config * @param {string} [options.id] - layer id * @param {string} [options.name=Unnamed Layer] - layer name * @param {number} [options.opacity=1] - opacity * @param {boolean} [options.visible=true] - default visible * @param {number} [options.minZoom=undefined] - min zoom level, 0 - 28 * @param {number} [options.maxZoom=undefined] - max zoom level, 0 - 28 * @param {object} [options.params={}] the get parameters to include to retrieve the layer * @param {number} [options.zIndex=0] the z index for the layer * @param {function} [options.loadCallback] function to call on load, context this is the layer object * @param {boolean} [options.legendCollapse=false] if the legend item should be initially collapsed * @param {boolean} [options.legendCheckbox=true] if the legend item should have a checkbox for visibility * @param {boolean} [options.legendContent] additional content to add to the legend * * @param {boolean} [options.autoLoad=false] if the layer should auto load if not visible * @param {object|*} [options.style=undefined] the layer style, use openlayers default style if not defined * @param {boolean} [options.onDemand=false] if the layer should be loaded by extent on map move * @param {number} [options.onDemandDelay=300] delay before the map move callback should be called * @param {MapMoveCls} [options.mapMoveObj=mapMove] alternate map move object for use with multi map pages * * @param {string} options.itsType the ITS device type, use the url flag at https://transportal.cee.wisc.edu/its/inventory/ * @param {boolean} [options.addPopup=true] if the popup should be added automatically * * @param {string} [options.itsIcon=undefined] the ITS device type icon image see https://transportal.cee.wisc.edu/its/inventory/icons/ * * @param {object} [options.itsLineStyle=undefined] A single line style * @param {string} options.itsLineStyle.color the line color as rgb or hex * @param {number} [options.itsLineStyle.width=5] the line width * * @param {object} [options.itsIconConfig=undefined] The icon subtype configuration * @param {string} options.itsIconConfig.prop The property used to define icon attribute symbolization * @param {string} options.itsIconConfig.defaultName The default name to be used if no other match is found * @param {string} options.itsIconConfig.defaultIcon The default icon to be used for no other matches * @param {object} [options.itsIconConfig.iconArray=[]] an array, items with format [property, name, img] * * @param {object} [options.itsLineConfig=undefined] The property used to define icon attribute symbolization * @param {string} options.itsLineConfig.prop The property used to define icon attribute symbolization * @param {string} [options.itsLineConfig.defaultName=Other] The default name to be used if no other match is found * @param {string} [options.itsLineConfig.defaultColor=red] The default line color to be used for no other matches * @param {number} [options.itsLineConfig.defaultWidth] The default line width to be used for no other matches * @param {object} [options.itsLineConfig.lineArray=[]] an array, items with format [property, name, color, optional width = 5] */ constructor(options: any); /** * callback to generate the parameters passed in the get request * @callback makeGetParams * @param {object} extent - extent object * @param {number} extent.minX - minX * @param {number} extent.minY - minY * @param {number} extent.maxX - maxX * @param {number} extent.maxY - maxY * @param {number} zoomLevel - zoom level */ mapMoveMakeGetParams(extent: any, zoomLevel: any): void; } export default LayerItsInventory;