Select to view content in your preferred language

how to show legend of layer in android

554
3
10-27-2017 03:37 AM
rajwinderkaur
Deactivated User

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.

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Rajwinder,

  So are you using the Lengend Dijit in your mobile app?

0 Kudos
rajwinderkaur
Deactivated User

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

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

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 

0 Kudos