-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Searchlist in infowindow #1436
Searchlist in infowindow #1436
Conversation
Sharemap to measure control
Co-authored-by: Stefan Forsgren <stefan@forsgren@xlent.se>
* Adds share map functionality when using infowindow * Fixed layername issue
Fixes tab and focus on layer properties
I suppose the structure of our search responses differ. I will look into it. |
This feature works when using Option 1 for search:
Will have to make adjustments to support the other variants as well. But maybe I await this PR first: #1420 @MattiasSp Are you looking into this? |
Yeah, I think it would be nice if a feature like this works with more than one type of search config. |
* Update layer params and resize HTML/CSS to reflect DPI changes * Removed unnecessary function to set resolution * Ignore TileLayers where source is OSM * Import OSM from OL * Check if style has image before setting scale * Ignore layer if source is XYZ or WMTS * Check if ImageLayer and if source is ImageWMS * Set fixed style to close button * refactor and able to handle LayerGroup and VectorImageLayer * Fix issue with scalebar setting incorrect width * Added comments * Refresh source to re-render ArcGIS layers * Change source for ImageArcGISRest to support DPI Also started working on support for cluster * Resize legend * Print resize missing padding * Resize stroke width and text scale * Resize WFS theme layers * Resize stroke width resolution fix * Print resize change 'print attribution link' css rule * Print resize added null/undefined check for styles * feat: add config option for disabling new DPI methods Co-authored-by: Mathias Thorén <mathias.thoren@sweco.se> Co-authored-by: David <perssond9@gmail.com>
* Add legend to print map * Added legond-icon class to icon element * Print legend check for layer type and source type * Print legend remove min width * Print legend added service param to url * Print legend support WFS and styles from index.json * Print legend svg icons 100% width and height * Print legend set forced height on images from index.json * Print legend include LayerGroup * Print legend refactor logic * Print legend remove unused imports * Print legend refactor list render * Print legend render legend after scaleline * Print legend add checks for wfs missing style Co-authored-by: sweco-sefaed <edvin.fackel@sweco.se>
* Ensure that layername is unique * Layertitle also gets numbered
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.14.7...v1.14.8) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#1460) * fix: enable print resolution change via compatible loop for htmlCollection * fix: code consistency
Bumps [webpack](https://github.com/webpack/webpack) from 5.67.0 to 5.76.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](webpack/webpack@v5.67.0...v5.76.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#1715) * fix: decouple default WMS server style and preselected style for the stylepicker in order to accomodate preselected alternative WMS server styles when a stylepicker is employed for WMS layers * fix: tolerate missing initialStyle prop in layerPicker
* Added defaultLayerParams * Update viewer.js
* Added group aggregations and length attribute helper. * Uses ol/sphere for measurements * Automatic units for area en length and aligning result i infowindow * Lint... --------- Co-authored-by: Stefan Forsgren <stefan@forsgren@xlent.se>
* fix: update zoom level when scroll zooming * Update maputils.js
fix: editor toolbar visible as default
feature: filter on wms layer
fix: only activate buttons on first level when expanding
* Added draw as control * Update stylewindow.js * Refactored code for measure control and added modify function * Update draw.js * Fixes for draw * Lots of stuff * Clean up permalink * Some styling fixes * Lint * Update viewer.js * Fix * stylewindow fix * Styling tweaks * Small fixes for print * Update stylewindow.js * Fix for labels and buffer measure * Forgot about measure in mapstate * Added projection for measures * drawHandler as component * Moved styling to layer level * Added screen/menu button placement * Initial state for save button * Added import layer functionality * Update viewer.js * Update drawtools.js * Unique layer names and new icon * Update draw.js * Fixed scaling when printing * Fix default function * Make group draggable * Fixed bugs
…ap/origo into search-result-infowindow
Replaced with #1751 to get a clean commit history |
Fixes #1413
Adds a infowindow-component which can be used to create a floating infowindow or aligned to the left.
Search control is configured ike this:
{
"name": "search",
"options": {
...
"autocompletePlacement": "search", //can be search, left or floating (defaults to search)
"searchlistPlacement": "left" //can be search, left or floating, activated by hitting enter (defaults to nothing)
}
}