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

Arcgis rest layers support #371

Merged
merged 9 commits into from
May 2, 2024

Conversation

enricofer
Copy link
Contributor

Copy link
Collaborator

@chrismayer chrismayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this nice feature @enricofer! I like. I am not really into deep into the ArcGIS stuff but it looks good to me. I second this 👍

The PR has a conflict, which needs to be resolved and I had some smaller remarks mainly on textual level (API Docs et.al.). Before merging it would also be cool, if you could provide some documentation for this new layer type at https://github.com/wegue-oss/wegue/blob/master/docs/map-layer-configuration.md. This will then automatically show at https://wegue-oss.github.io/wegue/#/map-layer-configuration

@@ -57,6 +57,10 @@
"terrestris-osm-wms" : {
"name": "OSM WMS",
"attributions": "<a href='https://www.openstreetmap.org/copyright' target='_blank'>© OpenStreetMap-contributors</a>"
},
"test_arcgisrest" : {
"name": "unità urbane",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please provide an English text / layer name here?

@@ -165,6 +168,31 @@ export const LayerFactory = {
return layer;
},

/**
* Returns an OpenLayers Tiled WMS layer instance due to given config.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong API docs, maybe copy/paste?

* Returns an OpenLayers Tiled WMS layer instance due to given config.
*
* @param {Object} lConf Layer config object
* @return {ol.layer.Tile} OL Tiled WMS layer instance
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong API docs, maybe copy/paste?

Copy link
Collaborator

@chrismayer chrismayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your ongoing effort @enricofer ! I found 2 minor things which should be addressed before we can merge this.

docs/map-layer-configuration.md Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
@chrismayer
Copy link
Collaborator

I just finalized this by committing the 2 minor issues of my last review. This is good to go now. Thanks again @enricofer for providing this new layer type.

@chrismayer chrismayer merged commit cda4d70 into wegue-oss:master May 2, 2024
1 check passed
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