Check layer minScale or maxScale before sending request to map server

276
0
06-10-2020 12:50 AM
AdmirSerifi
New Contributor

I am developing an Angular application for Swiss telecom, where the whole application is heavily dependent on Esri tools (esri-loader).

I can't find the way how to check a layer properties like minScale or maxScale for e.g. is less than the allowed value, and if this condition is met, then a request can be sent to the map server.

Watch events like "layerview-create" or "updating" I think are executed after success response, and I need event before sending the request.

Thank you

0 Kudos
0 Replies