# indoors-floor-filter-js **Repository Path**: mirrors_Esri/indoors-floor-filter-js ## Basic Information - **Project Name**: indoors-floor-filter-js - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2020-08-08 - **Last Updated**: 2025-09-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # indoors-floor-filter-js This is an ArcGIS API for JavaScript widget that lets you filter ArcGIS Indoors data to view a selected facility (building) and level (floor). Learn about ArcGIS Indoors and the ArcGIS Indoors Information Model [here](https://pro.arcgis.com/en/pro-app/help/data/indoors/get-started-with-arcgis-indoors.htm). ![demo video](./indoors-floorfilter-js-doc-video-demo02.gif "demo video") ## Features * Automatically detects and reads ArcGIS Indoors map layers * Provides intuitive way to pick and view data for a particular level * Select a facility (building) via map click or dropdown list * Configurable style and behaviors ## Requirements * An existing ArcGIS API for JavaScript 3.x or 4.x mapping application. * A map containing layers that conform to the [ArcGIS Indoors Information Model feature classes](https://pro.arcgis.com/en/pro-app/help/data/indoors/arcgis-indoors-information-model.htm#ESRI_SECTION1_E6F8CE6530DE4D0B94CA289D3A4CFA52). * Sample ArcGIS Indoors data is available for download from [My Esri](https://my.esri.com/). For more information, see the ArcGIS Pro Help: [Download and install ArcGIS Indoors](https://pro.arcgis.com/en/pro-app/help/data/indoors/download-and-install-arcgis-indoors.htm) * At minimum, the widget requires a layer that conforms to the Indoors model's [Levels feature class](https://pro.arcgis.com/en/pro-app/help/data/indoors/arcgis-indoors-information-model.htm#ESRI_SECTION2_31525AA777E54CDD884C7F2B31F7D51B). If your Levels layer is named something else (such as "Floors"), use `layerIdentifiers` to map the layer name. * Certain widget functions require a layer that conforms to the Indoors model's [Facilities feature class](https://pro.arcgis.com/en/pro-app/help/data/indoors/arcgis-indoors-information-model.htm#ESRI_SECTION2_B7500B49156641338AADC25F6113607D). Such functions include highlighting when hovering over a facility polygon, or clicking on a facility polygon to activate it in the widget. If your Facilities layer is named something else (such as "Buildings"), use `layerIdentifiers` to map the layer name. ## Instructions 1. Download and unzip the .zip file. 1. Copy/paste the `floorfilter` folder into your own project folder. 1. In your app: 1. Below the last existing `` tag that references an Esri `.css`, add a `` to reference the `floorfilter/style/main.css` file. 1. Above the existing `
``` #### JavaScript 4.x API - WebMap (2D) ```javascript ArcGIS Indoors - Floorfilter - JSAPI4 - WebMap
``` #### JavaScript 4.x API - WebScene (3D) ```javascript ArcGIS Indoors - Floorfilter - JSAPI4 - WebScene
``` ## Resources * [Get Started with ArcGIS Indoors](https://pro.arcgis.com/en/pro-app/help/data/indoors/get-started-with-arcgis-indoors.htm) * [ArcGIS Indoors Information Model](https://pro.arcgis.com/en/pro-app/help/data/indoors/arcgis-indoors-information-model.htm#ESRI_SECTION1_E6F8CE6530DE4D0B94CA289D3A4CFA52) * [ArcGIS API for JavaScript 4.x - API Reference](https://developers.arcgis.com/javascript/latest/) * [ArcGIS API for JavaScript 3.x - API Reference](https://developers.arcgis.com/javascript/3/jsapi/) ## Issues Find a bug or want to request a new feature? Please let us know by submitting an issue. ## Contributing Anyone and everyone is welcome to contribute. ## Licensing Copyright 2020 Esri Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. A copy of the license is available in the repository's [LICENSE.txt](https://github.com/Esri/indoors-floor-filter-js/blob/master/LICENSE.txt) file.