I want to show legend of layer in android mobile application.That is a feature layer.I know little bit about legendinfo class.But not sure how to use this class to show legend.
Rajwinder,
So are you using the Lengend Dijit in your mobile app?
No sir, actually I am new to arcgis field.our one team member have made
service for web application.i want to use that service to show legend in my
mobile application.I have checked all available codes on GitHub.but there
is no code for legend.what I came to know about only is legendinfo class
and it's two methods.but I do not know how to use this.please help me if
you can.
With regards
Rajwinder Kaur
Rajwinder,
The Legend Dijit is already mobile friendly so you should start there.
Legend | API Reference | ArcGIS API for JavaScript 3.22
https://developers.arcgis.com/javascript/3/jssamples/widget_legend.html