Imports InfoSoftGlobal 'FusionMaps.dll in bin folder Partial Class FormBased_FormSubmit Inherits System.Web.UI.Page ''' ''' This program takes Maps Request value and convert into an Array ''' Finally it converts the data into FusionMaps dataXML to render map ''' Protected Sub Page_Load(ByVal ob As Object, ByVal e As EventArgs) Handles Me.Load ' Define dataArray Two dimension string Array element. 1st column takes ' map internal id and 2nd column takes Value. Dim dataArray(8, 2) As String ' Array data assigned from Context object Items ' In this example, we're directly showing this data back on chart. ' In your apps, you can do the required processing and then show the ' relevant data only. dataArray(1, 1) = "01" : dataArray(1, 2) = Context.Items("AS1") dataArray(2, 1) = "02" : dataArray(2, 2) = Context.Items("EU") dataArray(3, 1) = "03" : dataArray(3, 2) = Context.Items("AF") dataArray(4, 1) = "04" : dataArray(4, 2) = Context.Items("NA") dataArray(5, 1) = "05" : dataArray(5, 2) = Context.Items("SA") dataArray(6, 1) = "06" : dataArray(6, 2) = Context.Items("CA") dataArray(7, 1) = "07" : dataArray(7, 2) = Context.Items("OC") dataArray(8, 1) = "08" : dataArray(8, 2) = Context.Items("ME1") 'Now that we've the data in variables, we need to convert this into XML. 'The simplest method to convert data into XML is using string concatenation. Dim strXML As New StringBuilder 'Initialize element strXML.Append("") ' Set colorRange's Maximum and minimum value for displaying color range strXML.Append("") strXML.Append("") strXML.Append("") strXML.Append("") strXML.Append("") strXML.Append("") Dim i As Integer 'Fatch Data from array For i = 1 To UBound(dataArray) ' Set each map id and value strXML.Append("") Next ' Close element strXML.Append("") ' Add Style on map strXML.Append("