ngx-openlayers
ngx-openlayers copied to clipboard
Support ArgGIS layers
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
Some of them works with arcgis I think. Nothing about it @kekel87 ?
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>
@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?
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.