bootleaf | An open-source version of IAG 's Bootleaf fork | Map library

 by   iag-geo JavaScript Version: Current License: MIT

kandi X-RAY | bootleaf Summary

kandi X-RAY | bootleaf Summary

bootleaf is a JavaScript library typically used in Geo, Map applications. bootleaf has no vulnerabilities, it has a Permissive License and it has low support. However bootleaf has 11 bugs. You can download it from GitHub.

This is an update to the excellent [Bootleaf] code written by [Bryan McBride] which incorporates the responsive framework [Bootstrap] with the lightweight [Leaflet] mapping API. This update decouples the application logic from the map contents, and so provides a framework for rapid creation of new maps by simply updating a configuration file. Support is provided for: - WMS tiled layers - WFS layers - GeoJSON layers - ArcGIS Server feature, dynamic and tiled layers - Clustering of WFS, GeoJSON and ArcGIS Server feature layers. Note - WMS and WFS layers have been tested in GeoServer only. [CORS] and [jsonp] should be enabled on GeoServer for best results. Note - Bootleaf uses the [Esri-Leaflet] plugin, in order to support ArcGIS layers and display Esri basemaps. Please note the [Esri usage terms] before using this. Additional functionality includes: - [Table of Contents] with support for groups and radio buttons - Identify function for WMS and ArcGIS Dynamic layers - Query Widget, for finding features within ArcGIS Feature and Dynamic layers - Spatial Bookmarks - Address search using [OpenStreetMap] Google or ArcGIS - Ability to share the map with current location and visible layers - Tooltips and info-windows - Simple labels within WFS and GeoJson layers. The application comprises: - index.html - defines the elements on the page, including the map, sidebar, navigation, buttons, etc. References all of the other files - config.js - configuration file, which personalises each map. Specifies the starting extent, basemap, controls, and layers - style.css - over-writes the default styles to personalise the map - custom.js - adds custom functionality to personalise the map - src/... - the directory containing the core Bootleaf functionality - data - stores any local GeoJSON datasets which are not hosted on a server.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              bootleaf has a low active ecosystem.
              It has 64 star(s) with 49 fork(s). There are 16 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 15 open issues and 16 have been closed. On average issues are closed in 51 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of bootleaf is current.

            kandi-Quality Quality

              bootleaf has 11 bugs (0 blocker, 0 critical, 1 major, 10 minor) and 4 code smells.

            kandi-Security Security

              bootleaf has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              bootleaf code analysis shows 0 unresolved vulnerabilities.
              There are 4 security hotspots that need review.

            kandi-License License

              bootleaf is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              bootleaf releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              It has 2337 lines of code, 0 functions and 26 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed bootleaf and discovered the below as its top functions. This is intended to give you an instant insight into bootleaf implemented functionality, and help decide if they suit your requirements.
            • Load the config file
            • Run the query widget .
            • Parse the config and parse out .
            • The notify layer list
            • Handle geojson results
            • Apply filter function
            • Parse layer .
            • Runs the JSON query in the layer .
            • Display results in a complete layer .
            • Highlights a feature .
            Get all kandi verified functions for this library.

            bootleaf Key Features

            No Key Features are available at this moment for bootleaf.

            bootleaf Examples and Code Snippets

            No Code Snippets are available at this moment for bootleaf.

            Community Discussions

            QUESTION

            How to show Modal when hyperlink text is clicked inside marker popup?
            Asked 2022-Feb-18 at 16:26

            I am customizing the Bootleaf template, what I want to do is when I click the description text the modal will appear. I am using Leaflet. I already tried the code below but nothing happens when I click the "description" text.

            This is the modal

            ...

            ANSWER

            Answered 2022-Feb-18 at 16:26

            At the time you adding the click listener to the element, the element doesn't exist because the html of the popup is not added to DOM until the popup is opened.

            So add a listener to the layer to check if the popup is opening:

            Source https://stackoverflow.com/questions/71176643

            QUESTION

            How to query points with a polygon layer using Bootleaf / esri-leaflet?
            Asked 2021-Jun-09 at 01:16

            I am using the Bootleaf IAG framework.

            I can not figure out how to get the bounding coordinates of a filtered layer.

            I am modifying the bootleaf code to query points with a polygon layer. The Query Widget already allows users to draw a polygon, but I want to select a polygon from a layer hosted on my arcgis server. I modified the filter widget by removing the text field and allowing my users to select polygon layers and values from a dropdown menu. This works fine.

            Now I need to take the result of the layer.setWhere(where, handleError); code and merry it with the query below. I need selectedPolygon to equal the result of layer.setWhere(where, handleError); and use the bounding coordinates in the .within section of the query.

            I have tried a number of things, L.latLngBounds, getBounds(), and toGeoJSON().features[0].geometry.coordinates to name a few, but but I can not figure out how to pull out the bounds. What is the correct code?

            ...

            ANSWER

            Answered 2021-Jun-09 at 01:16

            I don't know much about bootleaf, but here are some tips to get you started. Based on your question and comments, this will hopefully clear things up and instruct you on how to apply what you need in your scenario.

            Hook UI to setWhere

            When the user selects an option from the UI, you can call setWhere on the layer you're providing from the arcgis server. Let's say there's a polygon layer, in my example, called statesFeatureLayer, which is an L.esri.featureLayer

            Source https://stackoverflow.com/questions/67878860

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install bootleaf

            You can download it from GitHub.

            Support

            agsFeatureLayer : [ArcGIS Server Feature layer](https://developers.arcgis.com/javascript/3/jsapi/featurelayer-amd.html). agsDynamicLayer : [ArcGIS Server Dynamic layer](https://developers.arcgis.com/javascript/3/jsapi/arcgisdynamicmapservicelayer-amd.html). agsTiledLayer : [ArcGIS Server Tiled layer](https://developers.arcgis.com/javascript/3/jsapi/arcgistiledmapservicelayer-amd.html). geoJSON : [Leaflet GeoJSON](https://leafletjs.com/reference-1.0.2.html#geojson). wmsTiledLayer : [Leaflet WMS Tile layer](https://leafletjs.com/reference-1.0.2.html#tilelayer-wms). tileLayer : [tiled layers](https://leafletjs.com/reference-1.0.3.html#tilelayer) which follow the pattern https://{s}.somedomain.com/blabla/{z}/{x}/{y}{r}.png. WFS : [WFS](https://www.opengeospatial.org/standards/wfs) layers (Note: to date, testing has only been done on WFS as provided by GeoServer in GeoJSON format.). Note - it may be necessary to use a [reverse proxy](https://github.com/iag-geo/bootleaf/blob/master/reverseProxy.md) in order to access data from GeoServer.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/iag-geo/bootleaf.git

          • CLI

            gh repo clone iag-geo/bootleaf

          • sshUrl

            git@github.com:iag-geo/bootleaf.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link