Esri/arcgis-rest-js

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

Ouverte

#773 ouverte le 5 nov. 2020

 (0 commentaire) (1 réaction) (0 personne assignée)TypeScript (126 forks)auto 404
good first issue

Métriques du dépôt

Stars
 (389 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur