How to Add an ESRI API Class - fgpv-vpgf/geoApi GitHub Wiki
If a new class from the ESRI API is required in geoApi, the following steps should see you through.
- Regenerate a custom build of the ESRI API so that it has the new class as well as all the other classes required
- Update the class list in the documentation
- In file
index.js
, functionmakeDojoRequests
, add the new class identifier to the array of class strings, and a new parameter to receive the class (please keep in alphabetical order, as the list is long). Add the parameter variable to theesriBundle
object in an appropriate and easily readable way. - Use the class in the
esriBundle
wherever you need it.