Skip to content

Export by url#661

Merged
mbarbeau merged 15 commits into
nextfrom
exportByUrl
Jun 9, 2020
Merged

Export by url#661
mbarbeau merged 15 commits into
nextfrom
exportByUrl

Conversation

@pelord

@pelord pelord commented Jun 5, 2020

Copy link
Copy Markdown
Member

Please check if the PR fulfills these requirements

What is the current behavior? (You can also link to an open issue here)
1- Non vector layers with download (url) property contained in sourceOptions are not exportable by the import/Export tool.
2- Vector layer that were not initialized (visibility set to false in config) were not exportable. This cause an error :
image

What is the new behavior?
1- These layers are now listed exportable. The associated export format is an URL and the form submit open the link.
2- On layer selection, if the vector contain no feature, the layer visibility is set to true, the opacity = 0 and queryable = false. Then OpenLayers download the features. On the next layer selection (or on tool leave) the previous layer original visibility, opacity and queryable status are "roolbacked".

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

@pelord pelord requested a review from mbarbeau June 5, 2020 12:21
@pelord

pelord commented Jun 5, 2020

Copy link
Copy Markdown
Member Author

@pelord pelord marked this pull request as ready for review June 8, 2020 17:10
@mbarbeau mbarbeau merged commit f1af5ed into next Jun 9, 2020
@mbarbeau mbarbeau deleted the exportByUrl branch June 9, 2020 15:46
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.

2 participants