I am trying to show territory details and calculate few variables in same page on click of territory in Map.
For that, I need to use values which are stored in javascript variable to pass into Apex method.
Any ideas will be appreciated
Please help me.