Thanks Shweta.
Issue #1 resolved by following your steps.
Issur #2 still exists how can i remove geometry type from the legend.
I need not to mentioned the geomrtry type of the layer in legend.
Refer to attach video for more information,, it could be played in any browser.
Let me know more information is required from my side.
Thanks,
Neeraj