javascript - add layer values to legend -
i have created legend.
var legend = new legend({ map: map, layerinfos: [ { layer: s_layer, title: "factors" } ] }, "legenddiv"); legend.startup();
now want add attribute of same layer legend. have seen examples of adding layer legend . not find example of how add attributes of same layer legend. can tell me how solve problem?
Comments
Post a Comment