Esri/arcgis-rest-js

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

Aberta

#773 aberto em 5 de nov. de 2020

 (0 comentário) (1 reação) (0 responsável)TypeScript (126 forks)auto 404
good first issue

Métricas do repositório

Stars
 (389 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador