Skip to content
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

mapfish-print-component #6

Merged
merged 98 commits into from Oct 21, 2019
Merged

Conversation

Saspect-IO
Copy link

Mapfish V3 print component for PDF, PNG and JPEG document formats.

Sheldon Small and others added 30 commits August 14, 2019 10:55
… JSON when stringyfying print request data
…ms wfs and imagery layer's url available to use as baseUrl for print request
…perty with url needed for mapfish map processor
@iquitwow iquitwow merged commit f990940 into county-of-simcoe-gis:master Oct 21, 2019
@iquitwow
Copy link
Member

I pushed the changes. The print works locally on my machine, but when pushed to opengis.simcoe.ca, the map keeps coming up blank. Check your network tab in dev tools and it seems to be missing all the Capabilities calls.

iquitwow pushed a commit that referenced this pull request Jan 20, 2020
reed-tom added a commit that referenced this pull request Jan 18, 2022
* fixed config post merge (#3)

* Feature/address interrigator (#4)

* added addressInterrogator and InfoTable helper component

* added address interrogator and info table

* removed testing url

* reverted mistaken save

* added zoom to civic address point and cleaned up styling

* added secure config to address interrogator

* added option to activate address interrogator from property report

* Merge/public rc1.0 (#6)

* Bump ua-parser-js from 0.7.19 to 0.7.28

Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.19 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.19...0.7.28)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump lodash from 4.17.20 to 4.17.21

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump dns-packet from 1.3.1 to 1.3.4

Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

* swtiched sorting to use layer index instead of drawIndex
update layer index on sort move to ensure user sorting is maintained after a-z sorting toggle

* incremented patch version

* - switched search, mymaps, and local real estate to use localStorage helpers
- added cleanup function to remove full geojson from saved search history
- disabled saving of layers added from files
- fixed error in show message event listener
- extensive "prettier" formatting changes

* removed settings buttons and functions that were added for testing

* - fixed issue with slim sidebar not showing active tool
- various code formatting changes

* added localStorage cleanup and removed refreshStorage helper

* fixed crash on slim sidebar toggle

* increment patch version

* Release 1.1 (#130)

* added global opacity slider to toc settings menu

* - fixed bug preventing default layer visibility from being applied
- added keyword check for VISIBLE_LAYERS=ALL

* fixed bug in addlayer tool preventing default server url from changing with selection

* added defaultTheme and defaultTool to mapSettings handler

* removed unnecessary emit from default tools and themes in map settings api parsing

* added toc loader for ersi rest service

* - added ability to load arcgis or geoserver content in map config
- added ARCGIS_SERVICE url parameter
- added case sensitive flag to url parameter parsing

* - added ability to identify on ImageArcGISRest layers
- added title case splitting/formatting to identify field names

* refined parsing of property names in identify

* fixed bug preventing worldImagery from loading

* set min resolution on world imagery

* - moved identify feature to common location
- added regex checking for excluded feature fields
-

* removed minResolution for world imagery

* added react router and legend app

* brought back makeGroup function in TOCHelpers

* Added all layers group

* - integrated stand alone legend app to webmap project
 - added react router
 - added ShowWindow component to display components similar to showUrlWindow

* updated handling of ArcGIS metadata url

* changed how default group is selected and loaded

* added all layers code from dev branch

* resolved issues with arcgis and the new dynamic all layers group

* removed duplicate code from merge

* fixed bug loading group with no layers and moved group parsing into function

* fixed issue with loading saved layers in default group

* switched duplicate layer/group checking to use tocName instead of layer name

* cleaned up layer loading sequence

* fixed bug in basemap imagery slider layer visibility

* added generic TableDisplay component to helpers

* - updated legend component to handle secure layers
- moved get image functions from TOC helpers to generic helpers

* fixed bug when caused by empty savedLayer object

* fixed bug causing crash when added layer is removed from all layers

* added support for secured layers

* added window.loaded and helpers to support waiting for components to load, replaced several event listeners for map, toc, and sidebar loading

* integrated layerInfo app into web viewer

* added secureKey parameter check to live layer

* added window.config and helpers to manage global settings

* merged toc loading from TOCConfig into main config

* -added parsing for zoom and center from api
-prevented geoserver load from overriding api center and zoom

* improved readability of zoom and center parsing from api

* removed unneccessary call on unmount

* - fixed bug in adding WMTS layers
- added helper to get and regiter proj4 from epsg.io
- switched default WMTS url in add data tool to weather.gc.ca

* override saved user extent when loading from mapId

* commented out console log in waitForLoad helper

* applied prettier code formatting

* fixed merge conflicts

* removed references to TOCConfig

* code layout change

* - converted usage of mainConfig to window.config
- added waitForLoad to usage of window.config
- added array object merge to handle sidebar component config from api

* removed testing value from print config

* added map id to feedback url

* added handling for viewer mode to config helper

* added municipality to search

* added printLogo handling to printRequest

* fixed styling issue in window popup header

* - added try close before showMessage to cleanup any open messages before displaying the next
 - removed arcgis layers with sublayers
 - switched getCapabilities helper to use options object
 -

* added ability to hide sidebar tabs

* - fixed several listener issues cause by waitForLoad
- fixed center coords parsing issue
- fixed loading of toc type from settings api

* - added ability to set layer visibility through settings
- added ability to collapse featured property through settings

* removed best start logo and updated the url for 211 theme popup

* added case sensitivity to search url parameters

* added length constraint to date format

* - added XYZ default to add layers tool
- updated validate layer in add layer tool to exclude xyz layer
- removed unnecessary import on TwoOneOne theme

* - added showTerms on load
- added terms popup on map load

* switched terms popup on startup to show don't show again option

* updated config with a valid local toc config

* switched default group of local config

* updated default group of local config

* added handling for GROUP url parameter

* print tool - added handling for dot and dashed lines

* applied code formatting changes

* - added ability to show coordinates for MyMaps items
- added ability to export MyMaps items
- fixed bug in getting map id from url parameters
- switched showWindow helper to accept an options object

* switched getDefaultGroup to compare with group label rather than value

* switched feature zoom on search to variable based on the size of the feature.

* added ability to export drawing to multiple formats

* removed "Cancel" from drawType lookup

* changed SR compare to uppercase

* added check for items prior to saving MyMaps

* added warning message option for layers and re-enabled disclaimer message option

* hide export option in my map for items that are not open data

* updated community services theme logo

* fixed issue with arcgis layers showing disclaimer message

* update documentation for GROUP url parameter

* Dev (#131)

* added global opacity slider to toc settings menu

* - fixed bug preventing default layer visibility from being applied
- added keyword check for VISIBLE_LAYERS=ALL

* fixed bug in addlayer tool preventing default server url from changing with selection

* added defaultTheme and defaultTool to mapSettings handler

* removed unnecessary emit from default tools and themes in map settings api parsing

* added toc loader for ersi rest service

* - added ability to load arcgis or geoserver content in map config
- added ARCGIS_SERVICE url parameter
- added case sensitive flag to url parameter parsing

* - added ability to identify on ImageArcGISRest layers
- added title case splitting/formatting to identify field names

* refined parsing of property names in identify

* fixed bug preventing worldImagery from loading

* set min resolution on world imagery

* - moved identify feature to common location
- added regex checking for excluded feature fields
-

* removed minResolution for world imagery

* added react router and legend app

* brought back makeGroup function in TOCHelpers

* Added all layers group

* - integrated stand alone legend app to webmap project
 - added react router
 - added ShowWindow component to display components similar to showUrlWindow

* updated handling of ArcGIS metadata url

* changed how default group is selected and loaded

* added all layers code from dev branch

* resolved issues with arcgis and the new dynamic all layers group

* removed duplicate code from merge

* fixed bug loading group with no layers and moved group parsing into function

* fixed issue with loading saved layers in default group

* switched duplicate layer/group checking to use tocName instead of layer name

* cleaned up layer loading sequence

* fixed bug in basemap imagery slider layer visibility

* added generic TableDisplay component to helpers

* - updated legend component to handle secure layers
- moved get image functions from TOC helpers to generic helpers

* fixed bug when caused by empty savedLayer object

* fixed bug causing crash when added layer is removed from all layers

* added support for secured layers

* added window.loaded and helpers to support waiting for components to load, replaced several event listeners for map, toc, and sidebar loading

* integrated layerInfo app into web viewer

* added secureKey parameter check to live layer

* added window.config and helpers to manage global settings

* merged toc loading from TOCConfig into main config

* -added parsing for zoom and center from api
-prevented geoserver load from overriding api center and zoom

* improved readability of zoom and center parsing from api

* removed unneccessary call on unmount

* - fixed bug in adding WMTS layers
- added helper to get and regiter proj4 from epsg.io
- switched default WMTS url in add data tool to weather.gc.ca

* override saved user extent when loading from mapId

* commented out console log in waitForLoad helper

* applied prettier code formatting

* fixed merge conflicts

* removed references to TOCConfig

* code layout change

* - converted usage of mainConfig to window.config
- added waitForLoad to usage of window.config
- added array object merge to handle sidebar component config from api

* removed testing value from print config

* added map id to feedback url

* added handling for viewer mode to config helper

* added municipality to search

* added printLogo handling to printRequest

* fixed styling issue in window popup header

* - added try close before showMessage to cleanup any open messages before displaying the next
 - removed arcgis layers with sublayers
 - switched getCapabilities helper to use options object
 -

* added ability to hide sidebar tabs

* - fixed several listener issues cause by waitForLoad
- fixed center coords parsing issue
- fixed loading of toc type from settings api

* - added ability to set layer visibility through settings
- added ability to collapse featured property through settings

* removed best start logo and updated the url for 211 theme popup

* added case sensitivity to search url parameters

* added length constraint to date format

* - added XYZ default to add layers tool
- updated validate layer in add layer tool to exclude xyz layer
- removed unnecessary import on TwoOneOne theme

* - added showTerms on load
- added terms popup on map load

* switched terms popup on startup to show don't show again option

* updated config with a valid local toc config

* switched default group of local config

* updated default group of local config

* added handling for GROUP url parameter

* print tool - added handling for dot and dashed lines

* applied code formatting changes

* - added ability to show coordinates for MyMaps items
- added ability to export MyMaps items
- fixed bug in getting map id from url parameters
- switched showWindow helper to accept an options object

* switched getDefaultGroup to compare with group label rather than value

* switched feature zoom on search to variable based on the size of the feature.

* added ability to export drawing to multiple formats

* removed "Cancel" from drawType lookup

* changed SR compare to uppercase

* added check for items prior to saving MyMaps

* added warning message option for layers and re-enabled disclaimer message option

* hide export option in my map for items that are not open data

* updated community services theme logo

* fixed issue with arcgis layers showing disclaimer message

* update documentation for GROUP url parameter

* update version

* Hotfix/1.1.x (#134)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#135)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#138)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#132)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#133)

* Dev (#131)

* added global opacity slider to toc settings menu

* - fixed bug preventing default layer visibility from being applied
- added keyword check for VISIBLE_LAYERS=ALL

* fixed bug in addlayer tool preventing default server url from changing with selection

* added defaultTheme and defaultTool to mapSettings handler

* removed unnecessary emit from default tools and themes in map settings api parsing

* added toc loader for ersi rest service

* - added ability to load arcgis or geoserver content in map config
- added ARCGIS_SERVICE url parameter
- added case sensitive flag to url parameter parsing

* - added ability to identify on ImageArcGISRest layers
- added title case splitting/formatting to identify field names

* refined parsing of property names in identify

* fixed bug preventing worldImagery from loading

* set min resolution on world imagery

* - moved identify feature to common location
- added regex checking for excluded feature fields
-

* removed minResolution for world imagery

* added react router and legend app

* brought back makeGroup function in TOCHelpers

* Added all layers group

* - integrated stand alone legend app to webmap project
 - added react router
 - added ShowWindow component to display components similar to showUrlWindow

* updated handling of ArcGIS metadata url

* changed how default group is selected and loaded

* added all layers code from dev branch

* resolved issues with arcgis and the new dynamic all layers group

* removed duplicate code from merge

* fixed bug loading group with no layers and moved group parsing into function

* fixed issue with loading saved layers in default group

* switched duplicate layer/group checking to use tocName instead of layer name

* cleaned up layer loading sequence

* fixed bug in basemap imagery slider layer visibility

* added generic TableDisplay component to helpers

* - updated legend component to handle secure layers
- moved get image functions from TOC helpers to generic helpers

* fixed bug when caused by empty savedLayer object

* fixed bug causing crash when added layer is removed from all layers

* added support for secured layers

* added window.loaded and helpers to support waiting for components to load, replaced several event listeners for map, toc, and sidebar loading

* integrated layerInfo app into web viewer

* added secureKey parameter check to live layer

* added window.config and helpers to manage global settings

* merged toc loading from TOCConfig into main config

* -added parsing for zoom and center from api
-prevented geoserver load from overriding api center and zoom

* improved readability of zoom and center parsing from api

* removed unneccessary call on unmount

* - fixed bug in adding WMTS layers
- added helper to get and regiter proj4 from epsg.io
- switched default WMTS url in add data tool to weather.gc.ca

* override saved user extent when loading from mapId

* commented out console log in waitForLoad helper

* applied prettier code formatting

* fixed merge conflicts

* removed references to TOCConfig

* code layout change

* - converted usage of mainConfig to window.config
- added waitForLoad to usage of window.config
- added array object merge to handle sidebar component config from api

* removed testing value from print config

* added map id to feedback url

* added handling for viewer mode to config helper

* added municipality to search

* added printLogo handling to printRequest

* fixed styling issue in window popup header

* - added try close before showMessage to cleanup any open messages before displaying the next
 - removed arcgis layers with sublayers
 - switched getCapabilities helper to use options object
 -

* added ability to hide sidebar tabs

* - fixed several listener issues cause by waitForLoad
- fixed center coords parsing issue
- fixed loading of toc type from settings api

* - added ability to set layer visibility through settings
- added ability to collapse featured property through settings

* removed best start logo and updated the url for 211 theme popup

* added case sensitivity to search url parameters

* added length constraint to date format

* - added XYZ default to add layers tool
- updated validate layer in add layer tool to exclude xyz layer
- removed unnecessary import on TwoOneOne theme

* - added showTerms on load
- added terms popup on map load

* switched terms popup on startup to show don't show again option

* updated config with a valid local toc config

* switched default group of local config

* updated default group of local config

* added handling for GROUP url parameter

* print tool - added handling for dot and dashed lines

* applied code formatting changes

* - added ability to show coordinates for MyMaps items
- added ability to export MyMaps items
- fixed bug in getting map id from url parameters
- switched showWindow helper to accept an options object

* switched getDefaultGroup to compare with group label rather than value

* switched feature zoom on search to variable based on the size of the feature.

* added ability to export drawing to multiple formats

* removed "Cancel" from drawType lookup

* changed SR compare to uppercase

* added check for items prior to saving MyMaps

* added warning message option for layers and re-enabled disclaimer message option

* hide export option in my map for items that are not open data

* updated community services theme logo

* fixed issue with arcgis layers showing disclaimer message

* update documentation for GROUP url parameter

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Added handling for GeoTiff metadata

* increment patch version

* Hotfix layer info legend printing (#140)

* Hotfix/1.1.x (#132)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#136)

* update version

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Added handling for GeoTiff metadata

* increment patch version

* removed package-lock.json as it is recreated when running npm install

* added package-lock.json to .gitignore

* added hide to unused layerInfo buttons
added print override to make map and window show full screen
switched map-theme to css class

* incremented patch version

* Hotfix/new radar code disable whats new (#142)

* Hotfix/1.1.x (#132)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#136)

* update version

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Added handling for GeoTiff metadata

* increment patch version

* removed package-lock.json as it is recreated when running npm install

* added package-lock.json to .gitignore

* Hotfix layer info legend printing (#139)

* added hide to unused layerInfo buttons
added print override to make map and window show full screen
switched map-theme to css class

* incremented patch version

* turned off what's new in default config and added

* added stats canada web services to add data services tab

* added merge polygon feature (#143)

* Feature/previous next extent (#144)

* Hotfix/1.1.x (#132)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#136)

* update version

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Added handling for GeoTiff metadata

* increment patch version

* Previous - Next Extent

* - added buttons for prev/next
 - moved extent history into helper function
- blocked trapped keyboard shortcuts in text input boxes
- switched search to use helper function to disable shortcuts

* added appstats to extent history

Co-authored-by: iquitwow <alain.proulx@simcoe.ca>

* fixed merge bug

* fixed merge issues

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Al Proulx <alain.proulx@simcoe.ca>

* Feature/address interrigator (#7)

* added addressInterrogator and InfoTable helper component

* added address interrogator and info table

* removed testing url

* reverted mistaken save

* added zoom to civic address point and cleaned up styling

* added secure config to address interrogator

* added option to activate address interrogator from property report

* Feature/apptrack (#5)

* initial commit of apptrack features

* fixed select from apptrack to work with lists of geoids

* added add polygon functions to my map polygons

* setup security for apptrack theme

* Feature/planning council reports (#8)

* added planning and coundil reports to apptrack theme

* removed alerts from apptrack calls

* merged changed from public rc/1.2 (#9)

* -disabled apptrack by default
-updated msal

* Feature/add emaps functionality (#11)

* Bump ua-parser-js from 0.7.19 to 0.7.28

Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.19 to 0.7.28.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.19...0.7.28)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump lodash from 4.17.20 to 4.17.21

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump dns-packet from 1.3.1 to 1.3.4

Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

* swtiched sorting to use layer index instead of drawIndex
update layer index on sort move to ensure user sorting is maintained after a-z sorting toggle

* incremented patch version

* - switched search, mymaps, and local real estate to use localStorage helpers
- added cleanup function to remove full geojson from saved search history
- disabled saving of layers added from files
- fixed error in show message event listener
- extensive "prettier" formatting changes

* removed settings buttons and functions that were added for testing

* - fixed issue with slim sidebar not showing active tool
- various code formatting changes

* added localStorage cleanup and removed refreshStorage helper

* fixed crash on slim sidebar toggle

* increment patch version

* Release 1.1 (#130)

* added global opacity slider to toc settings menu

* - fixed bug preventing default layer visibility from being applied
- added keyword check for VISIBLE_LAYERS=ALL

* fixed bug in addlayer tool preventing default server url from changing with selection

* added defaultTheme and defaultTool to mapSettings handler

* removed unnecessary emit from default tools and themes in map settings api parsing

* added toc loader for ersi rest service

* - added ability to load arcgis or geoserver content in map config
- added ARCGIS_SERVICE url parameter
- added case sensitive flag to url parameter parsing

* - added ability to identify on ImageArcGISRest layers
- added title case splitting/formatting to identify field names

* refined parsing of property names in identify

* fixed bug preventing worldImagery from loading

* set min resolution on world imagery

* - moved identify feature to common location
- added regex checking for excluded feature fields
-

* removed minResolution for world imagery

* added react router and legend app

* brought back makeGroup function in TOCHelpers

* Added all layers group

* - integrated stand alone legend app to webmap project
 - added react router
 - added ShowWindow component to display components similar to showUrlWindow

* updated handling of ArcGIS metadata url

* changed how default group is selected and loaded

* added all layers code from dev branch

* resolved issues with arcgis and the new dynamic all layers group

* removed duplicate code from merge

* fixed bug loading group with no layers and moved group parsing into function

* fixed issue with loading saved layers in default group

* switched duplicate layer/group checking to use tocName instead of layer name

* cleaned up layer loading sequence

* fixed bug in basemap imagery slider layer visibility

* added generic TableDisplay component to helpers

* - updated legend component to handle secure layers
- moved get image functions from TOC helpers to generic helpers

* fixed bug when caused by empty savedLayer object

* fixed bug causing crash when added layer is removed from all layers

* added support for secured layers

* added window.loaded and helpers to support waiting for components to load, replaced several event listeners for map, toc, and sidebar loading

* integrated layerInfo app into web viewer

* added secureKey parameter check to live layer

* added window.config and helpers to manage global settings

* merged toc loading from TOCConfig into main config

* -added parsing for zoom and center from api
-prevented geoserver load from overriding api center and zoom

* improved readability of zoom and center parsing from api

* removed unneccessary call on unmount

* - fixed bug in adding WMTS layers
- added helper to get and regiter proj4 from epsg.io
- switched default WMTS url in add data tool to weather.gc.ca

* override saved user extent when loading from mapId

* commented out console log in waitForLoad helper

* applied prettier code formatting

* fixed merge conflicts

* removed references to TOCConfig

* code layout change

* - converted usage of mainConfig to window.config
- added waitForLoad to usage of window.config
- added array object merge to handle sidebar component config from api

* removed testing value from print config

* added map id to feedback url

* added handling for viewer mode to config helper

* added municipality to search

* added printLogo handling to printRequest

* fixed styling issue in window popup header

* - added try close before showMessage to cleanup any open messages before displaying the next
 - removed arcgis layers with sublayers
 - switched getCapabilities helper to use options object
 -

* added ability to hide sidebar tabs

* - fixed several listener issues cause by waitForLoad
- fixed center coords parsing issue
- fixed loading of toc type from settings api

* - added ability to set layer visibility through settings
- added ability to collapse featured property through settings

* removed best start logo and updated the url for 211 theme popup

* added case sensitivity to search url parameters

* added length constraint to date format

* - added XYZ default to add layers tool
- updated validate layer in add layer tool to exclude xyz layer
- removed unnecessary import on TwoOneOne theme

* - added showTerms on load
- added terms popup on map load

* switched terms popup on startup to show don't show again option

* updated config with a valid local toc config

* switched default group of local config

* updated default group of local config

* added handling for GROUP url parameter

* print tool - added handling for dot and dashed lines

* applied code formatting changes

* - added ability to show coordinates for MyMaps items
- added ability to export MyMaps items
- fixed bug in getting map id from url parameters
- switched showWindow helper to accept an options object

* switched getDefaultGroup to compare with group label rather than value

* switched feature zoom on search to variable based on the size of the feature.

* added ability to export drawing to multiple formats

* removed "Cancel" from drawType lookup

* changed SR compare to uppercase

* added check for items prior to saving MyMaps

* added warning message option for layers and re-enabled disclaimer message option

* hide export option in my map for items that are not open data

* updated community services theme logo

* fixed issue with arcgis layers showing disclaimer message

* update documentation for GROUP url parameter

* Dev (#131)

* added global opacity slider to toc settings menu

* - fixed bug preventing default layer visibility from being applied
- added keyword check for VISIBLE_LAYERS=ALL

* fixed bug in addlayer tool preventing default server url from changing with selection

* added defaultTheme and defaultTool to mapSettings handler

* removed unnecessary emit from default tools and themes in map settings api parsing

* added toc loader for ersi rest service

* - added ability to load arcgis or geoserver content in map config
- added ARCGIS_SERVICE url parameter
- added case sensitive flag to url parameter parsing

* - added ability to identify on ImageArcGISRest layers
- added title case splitting/formatting to identify field names

* refined parsing of property names in identify

* fixed bug preventing worldImagery from loading

* set min resolution on world imagery

* - moved identify feature to common location
- added regex checking for excluded feature fields
-

* removed minResolution for world imagery

* added react router and legend app

* brought back makeGroup function in TOCHelpers

* Added all layers group

* - integrated stand alone legend app to webmap project
 - added react router
 - added ShowWindow component to display components similar to showUrlWindow

* updated handling of ArcGIS metadata url

* changed how default group is selected and loaded

* added all layers code from dev branch

* resolved issues with arcgis and the new dynamic all layers group

* removed duplicate code from merge

* fixed bug loading group with no layers and moved group parsing into function

* fixed issue with loading saved layers in default group

* switched duplicate layer/group checking to use tocName instead of layer name

* cleaned up layer loading sequence

* fixed bug in basemap imagery slider layer visibility

* added generic TableDisplay component to helpers

* - updated legend component to handle secure layers
- moved get image functions from TOC helpers to generic helpers

* fixed bug when caused by empty savedLayer object

* fixed bug causing crash when added layer is removed from all layers

* added support for secured layers

* added window.loaded and helpers to support waiting for components to load, replaced several event listeners for map, toc, and sidebar loading

* integrated layerInfo app into web viewer

* added secureKey parameter check to live layer

* added window.config and helpers to manage global settings

* merged toc loading from TOCConfig into main config

* -added parsing for zoom and center from api
-prevented geoserver load from overriding api center and zoom

* improved readability of zoom and center parsing from api

* removed unneccessary call on unmount

* - fixed bug in adding WMTS layers
- added helper to get and regiter proj4 from epsg.io
- switched default WMTS url in add data tool to weather.gc.ca

* override saved user extent when loading from mapId

* commented out console log in waitForLoad helper

* applied prettier code formatting

* fixed merge conflicts

* removed references to TOCConfig

* code layout change

* - converted usage of mainConfig to window.config
- added waitForLoad to usage of window.config
- added array object merge to handle sidebar component config from api

* removed testing value from print config

* added map id to feedback url

* added handling for viewer mode to config helper

* added municipality to search

* added printLogo handling to printRequest

* fixed styling issue in window popup header

* - added try close before showMessage to cleanup any open messages before displaying the next
 - removed arcgis layers with sublayers
 - switched getCapabilities helper to use options object
 -

* added ability to hide sidebar tabs

* - fixed several listener issues cause by waitForLoad
- fixed center coords parsing issue
- fixed loading of toc type from settings api

* - added ability to set layer visibility through settings
- added ability to collapse featured property through settings

* removed best start logo and updated the url for 211 theme popup

* added case sensitivity to search url parameters

* added length constraint to date format

* - added XYZ default to add layers tool
- updated validate layer in add layer tool to exclude xyz layer
- removed unnecessary import on TwoOneOne theme

* - added showTerms on load
- added terms popup on map load

* switched terms popup on startup to show don't show again option

* updated config with a valid local toc config

* switched default group of local config

* updated default group of local config

* added handling for GROUP url parameter

* print tool - added handling for dot and dashed lines

* applied code formatting changes

* - added ability to show coordinates for MyMaps items
- added ability to export MyMaps items
- fixed bug in getting map id from url parameters
- switched showWindow helper to accept an options object

* switched getDefaultGroup to compare with group label rather than value

* switched feature zoom on search to variable based on the size of the feature.

* added ability to export drawing to multiple formats

* removed "Cancel" from drawType lookup

* changed SR compare to uppercase

* added check for items prior to saving MyMaps

* added warning message option for layers and re-enabled disclaimer message option

* hide export option in my map for items that are not open data

* updated community services theme logo

* fixed issue with arcgis layers showing disclaimer message

* update documentation for GROUP url parameter

* update version

* Hotfix/1.1.x (#134)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#135)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#138)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#132)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#133)

* Dev (#131)

* added global opacity slider to toc settings menu

* - fixed bug preventing default layer visibility from being applied
- added keyword check for VISIBLE_LAYERS=ALL

* fixed bug in addlayer tool preventing default server url from changing with selection

* added defaultTheme and defaultTool to mapSettings handler

* removed unnecessary emit from default tools and themes in map settings api parsing

* added toc loader for ersi rest service

* - added ability to load arcgis or geoserver content in map config
- added ARCGIS_SERVICE url parameter
- added case sensitive flag to url parameter parsing

* - added ability to identify on ImageArcGISRest layers
- added title case splitting/formatting to identify field names

* refined parsing of property names in identify

* fixed bug preventing worldImagery from loading

* set min resolution on world imagery

* - moved identify feature to common location
- added regex checking for excluded feature fields
-

* removed minResolution for world imagery

* added react router and legend app

* brought back makeGroup function in TOCHelpers

* Added all layers group

* - integrated stand alone legend app to webmap project
 - added react router
 - added ShowWindow component to display components similar to showUrlWindow

* updated handling of ArcGIS metadata url

* changed how default group is selected and loaded

* added all layers code from dev branch

* resolved issues with arcgis and the new dynamic all layers group

* removed duplicate code from merge

* fixed bug loading group with no layers and moved group parsing into function

* fixed issue with loading saved layers in default group

* switched duplicate layer/group checking to use tocName instead of layer name

* cleaned up layer loading sequence

* fixed bug in basemap imagery slider layer visibility

* added generic TableDisplay component to helpers

* - updated legend component to handle secure layers
- moved get image functions from TOC helpers to generic helpers

* fixed bug when caused by empty savedLayer object

* fixed bug causing crash when added layer is removed from all layers

* added support for secured layers

* added window.loaded and helpers to support waiting for components to load, replaced several event listeners for map, toc, and sidebar loading

* integrated layerInfo app into web viewer

* added secureKey parameter check to live layer

* added window.config and helpers to manage global settings

* merged toc loading from TOCConfig into main config

* -added parsing for zoom and center from api
-prevented geoserver load from overriding api center and zoom

* improved readability of zoom and center parsing from api

* removed unneccessary call on unmount

* - fixed bug in adding WMTS layers
- added helper to get and regiter proj4 from epsg.io
- switched default WMTS url in add data tool to weather.gc.ca

* override saved user extent when loading from mapId

* commented out console log in waitForLoad helper

* applied prettier code formatting

* fixed merge conflicts

* removed references to TOCConfig

* code layout change

* - converted usage of mainConfig to window.config
- added waitForLoad to usage of window.config
- added array object merge to handle sidebar component config from api

* removed testing value from print config

* added map id to feedback url

* added handling for viewer mode to config helper

* added municipality to search

* added printLogo handling to printRequest

* fixed styling issue in window popup header

* - added try close before showMessage to cleanup any open messages before displaying the next
 - removed arcgis layers with sublayers
 - switched getCapabilities helper to use options object
 -

* added ability to hide sidebar tabs

* - fixed several listener issues cause by waitForLoad
- fixed center coords parsing issue
- fixed loading of toc type from settings api

* - added ability to set layer visibility through settings
- added ability to collapse featured property through settings

* removed best start logo and updated the url for 211 theme popup

* added case sensitivity to search url parameters

* added length constraint to date format

* - added XYZ default to add layers tool
- updated validate layer in add layer tool to exclude xyz layer
- removed unnecessary import on TwoOneOne theme

* - added showTerms on load
- added terms popup on map load

* switched terms popup on startup to show don't show again option

* updated config with a valid local toc config

* switched default group of local config

* updated default group of local config

* added handling for GROUP url parameter

* print tool - added handling for dot and dashed lines

* applied code formatting changes

* - added ability to show coordinates for MyMaps items
- added ability to export MyMaps items
- fixed bug in getting map id from url parameters
- switched showWindow helper to accept an options object

* switched getDefaultGroup to compare with group label rather than value

* switched feature zoom on search to variable based on the size of the feature.

* added ability to export drawing to multiple formats

* removed "Cancel" from drawType lookup

* changed SR compare to uppercase

* added check for items prior to saving MyMaps

* added warning message option for layers and re-enabled disclaimer message option

* hide export option in my map for items that are not open data

* updated community services theme logo

* fixed issue with arcgis layers showing disclaimer message

* update documentation for GROUP url parameter

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Added handling for GeoTiff metadata

* increment patch version

* Hotfix layer info legend printing (#140)

* Hotfix/1.1.x (#132)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#136)

* update version

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Added handling for GeoTiff metadata

* increment patch version

* removed package-lock.json as it is recreated when running npm install

* added package-lock.json to .gitignore

* added hide to unused layerInfo buttons
added print override to make map and window show full screen
switched map-theme to css class

* incremented patch version

* Hotfix/new radar code disable whats new (#142)

* Hotfix/1.1.x (#132)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#136)

* update version

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Added handling for GeoTiff metadata

* increment patch version

* removed package-lock.json as it is recreated when running npm install

* added package-lock.json to .gitignore

* Hotfix layer info legend printing (#139)

* added hide to unused layerInfo buttons
added print override to make map and window show full screen
switched map-theme to css class

* incremented patch version

* turned off what's new in default config and added

* added stats canada web services to add data services tab

* added merge polygon feature (#143)

* Feature/previous next extent (#144)

* Hotfix/1.1.x (#132)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#136)

* update version

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Added handling for GeoTiff metadata

* increment patch version

* Previous - Next Extent

* - added buttons for prev/next
 - moved extent history into helper function
- blocked trapped keyboard shortcuts in text input boxes
- switched search to use helper function to disable shortcuts

* added appstats to extent history

Co-authored-by: iquitwow <alain.proulx@simcoe.ca>

* fixed merge bug

* Hotfix/remove is loaded fails (#147)

* Hotfix/1.1.x (#132)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#136)

* update version

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Added handling for GeoTiff metadata

* increment patch version

* removed package-lock.json as it is recreated when running npm install

* added package-lock.json to .gitignore

* Hotfix layer info legend printing (#139)

* added hide to unused layerInfo buttons
added print override to make map and window show full screen
switched map-theme to css class

* incremented patch version

* turned off what's new in default config and added (#141)

* increament patch version

* fixed remove from array in helpers.removeIsLoaded

* Feature/grouped layers support (#148)

* added ability to handle esri grouped layers

* - Added handling for a single layer from map config to be added to any group
- fixed bug when attempting to register existing projection
- fixed bug when adding wmts layer

* fixed print issue when printing WMTS layers

* - fixed saving/loading of groups and layer  visibility
- removed all layers group from folder view

* Bug/search address tool brokenlayer (#150)

* Hotfix/1.1.x (#132)

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Hotfix/1.1.x (#136)

* update version

* fixed identify by my maps geometry
added add geometry option to identify results

* added grouped settings local storage key clear button for login info

* increment patch version

* aligned add to my map button to right side of reports panel

* adjusted display of add to my maps link

* Added handling for GeoTiff metadata

* increment patch version

* removed package-lock.json as it is recreated when running npm install

* added package-lock.json to .gitignore

* Hotfix layer info legend printing (#139)

* added hide to unused layerInfo buttons
added print override to make map and window show full screen
switched map-theme to css class

* incremented patch version

* turned off what's new in default config and added (#141)

* increament patch version

* fixed remove from array in helpers.removeIsLoaded (#146)

* moved server any layer into config

* added alpha sort option to group merge functions (#153)

* Rc/1.2.x mto tokens (#151)

* This commit includes new files which will be created to accomodate following pull request  from MTO.

* Added MTO Report and new Tile Layer Data Sources for Seismic Hazard tile layer

* Removed 3 duplicated images

* Removed .bak file creted by winmerge compare

* Basement Configuration optoins for Basic Map is added

* MTO Coordinate Toll fixes and MTO Report Functions is added

* -moved geoserver keywords to config (#154)

-added single parsing function for geoserver keywords
-allowed geoserver keywords to be loaded from map config api

* added emaps features

* minor bug fixes and updates

* fixed keyword parsing issue
fixed identify bug
added security keyword to emaps

* minor bug fix in handling of geoserver keywords
changed default map id to land-values

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Al Proulx <alain.proulx@simcoe.ca>
Co-authored-by: Oren <nedim.oren@gmail.com>

* Bugfix/various bugfixes (#12)

* fixed toggler legend failing to toggle back on

* fixed "Start Ticket" always showing on property popup

* fixed styling bugs in popup

* updated various packages

* Minor merge updates

* Minor fixes to emaps functions

* added filter to return on owner autocomplete (#13)

* bump version to 1.0.0

* removed premature error message

* fixed selection bug in emaps

* Bugfix/update emaps from feedback (#15)

* include inactive layers in emaps report

* fixed styling issue on info table label

* added activate/deactivate to emaps report selector

* removed recordset call as results extracted on the server (#16)

* fixed minor bug in default folder group

* Add Miller AVL (#17)

* Bugfix/apptrack popup pop in (#18)

* added check in secure property report for app track

* re-enabled disable parcel click on theme load

* removed callback from fetch catch block

* switched account selection to filter by tenant Id (#20)

* added link to Download land values report if user has mpac teranet access (#21)

* avl-changes (#19)

* avl-changes

* added timing control to popup to prevent delayed popups from stealing focus

* moved sidebar tool/theme enabling into single location

* fixed bug in secured version of lots and concession tool

* made avl layers identifyable

* updated avl legend image

* added check for visible avl layer on map click

Co-authored-by: Tom <58078313+reed-tom@users.noreply.github.com>

* Avl raw data (#23)

* Added Raw GPS Data Checkbox

* Remove Z from date string

* Register Click Event to UnKey it

* Add Supervisor and Minis to Config

* Set Raw GPS Layer to not visible by default

Co-authored-by: iquitwow <alain.proulx@hotmail.com>

* added homepage to appstats and removed path from appstats (#24)

* Added property report button on apptrack popup (#25)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Al Proulx <alain.proulx@simcoe.ca>
Co-authored-by: Oren <nedim.oren@gmail.com>
Co-authored-by: iquitwow <alain.proulx@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants