Canadian-Geospatial-Platform / geoview

Canadian Geospatial Platform Viewer / Visualiseur de la Plateforme Géospatiale Canadienne
Other
23 stars 34 forks source link

EsriFeature Layer not loading #744

Open jolevesq opened 1 year ago

jolevesq commented 1 year ago

https://gisp.dfo-mpo.gc.ca/arcgis/rest/services/FGP/MSDI_Dynamic_Current_Layer/MapServer/0

geoview-renderer.ts:1138 Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase')
    at geoview-renderer.ts:1138:50

https://services.arcgis.com/V6ZHFr6zdgNZuVG0/ArcGIS/rest/services/U2/FeatureServer/

esri-feature.ts:255 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'name')
    at esri-feature.ts:255:45
response.data.geometryField.name as string, is undefined
ychoquet commented 1 year ago

The bug related to the second url (https://services.arcgis.com/V6ZHFr6zdgNZuVG0/ArcGIS/rest/services/U2/FeatureServer/0) is simple to resolve and will be corrected with the PR related to issue 757

ychoquet commented 8 months ago

This issue seems to be resolved. Error messages similar to those depicted were resolve in an other PR that had the same problems. I'm unable to test it for the moment because the server is down.