Esri/arcgis-rest-js

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

Open

#773 opened on Nov 5, 2020

 (0 comments) (1 reaction) (0 assignees)TypeScript (126 forks)auto 404
good first issue

Repository metrics

Stars
 (389 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide