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

Support ArgGIS layers #207

Open
HarelM opened this issue Oct 23, 2018 · 4 comments
Open

Support ArgGIS layers #207

HarelM opened this issue Oct 23, 2018 · 4 comments

Comments

@HarelM
Copy link
Contributor

HarelM commented Oct 23, 2018

Would be great if this library can support ArcGIS layers:
https://openlayers.org/en/latest/examples/arcgis-tiled.html
https://openlayers.org/en/latest/examples/vector-esri.html

@davinkevin
Copy link
Contributor

davinkevin commented Oct 24, 2018

Some of them works with arcgis I think. Nothing about it @kekel87 ?

@kekel87
Copy link
Contributor

kekel87 commented Oct 25, 2018

For now, I just fit localy ImageArcGISRest on my project.

For the vector-esri examples, I adapted the example to Typescript with ViewChild (for performance issues).

For the arcgis-tiled examples, i use aol-source-xyz, as mentioned in the top of the article, for performance reasons.
Like this:

<aol-layer-tile>
  <aol-source-xyz url="https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}">
  </aol-source-xyz>
</aol-layer-tile>

@HarelM
Copy link
Contributor Author

HarelM commented Oct 25, 2018

@kekel87 thanks for the info! I didn't know I could add /tile/... to get xyz tiles :-)
Looking at the provided example, how could one use the styles for the vector layer from ArcGIS and use them in Openlayers?

@kekel87
Copy link
Contributor

kekel87 commented Oct 25, 2018

I have them recreated by hand in a table to make style cache.
It allows to adjust them if the customer changes his mind.

I think it's possible to make an Arcgis style converter to Openlayer, but I do not find an Openlayer official solution.

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

No branches or pull requests

3 participants