AnsweredAssumed Answered

Custom layer (WMS) - example in AMD version

Question asked by w.rozk on Sep 8, 2016
Latest reply on Sep 8, 2016 by w.rozk

I've found an example of creating custom request to WMS service written in non-AMD style:

Custom layer - WMS | ArcGIS API for JavaScript 3.17 


I'm trying to implement this kind approach but in modern AMD approach.

Unfortunately, as a beginner, I don't know how to rewrite this example to fit AMD style. Especially the part with defining my.CityStatesRiversUSAWMSLayer() function with callback is out of my reach.


Could you please provide the mentioned example in AMD style?