Esri / esri-leaflet-vector

Display ArcGIS Online vector basemaps w/ Esri Leaflet
52 stars 53 forks source link

Addition of a proxy property #193

Closed pdiddyb closed 12 months ago

pdiddyb commented 1 year ago

This is in response to the issue: https://github.com/Esri/esri-leaflet-vector/issues/190 We need a proxy to use vector maps from our internal data appliance.

gavinr-maps commented 1 year ago

@pdiddyb thank you for the PR. The reason I asked for the replication case in #190 was that I wanted to see if doing what you want is possible already using the style property function. In theory you can use the style function to manually change the URLs to point to a proxy. Are you able to give that a try?

patrickarlt commented 12 months ago

@pdiddyb I'm going to close this for the reasons I made in https://github.com/Esri/esri-leaflet-vector/issues/190#issuecomment-1751383073. I think the overhead of adding a proxy parameter isn't worth it when you can already do these kinds of transformations in style