Esri/arcgis-rest-js

getService() should parse the service URL before making the request

Aperta

#773 aperta il 5 nov 2020

 (0 commenti) (1 reazione) (0 assegnatari)TypeScript (126 fork)auto 404
good first issue

Metriche repository

Star
 (389 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

when passed a layer url it should strip off the /{layerIndex} before requesting the service

We should move over this fn:

https://github.com/Esri/ember-arcgis-server-services/blob/4667061fe6e2c1b9f744497281d283543ad4bfd2/addon/utils/parse-url.js#L61-L68

and ultimately probably the rest of the utils in that folder too.

Guida contributor