Thailand

Map Name: Thailand

Javascript Alias: maps/thailand

New format for marker data in JSON:

{
    "map": {
        "showshadow": "0",
        "showlabels": "0",
        "showmarkerlabels": "1",
        "fillcolor": "F1f1f1",
        "bordercolor": "CCCCCC",
        "basefont": "Verdana",
        "basefontsize": "10",
        "markerbordercolor": "000000",
        "markerbgcolor": "FF5904",
        "markerradius": "6",
        "usehovercolor": "0",
        "hoveronempty": "0",
        "showmarkertooltip": "1",
        "canvasBorderColor": "375277",
        "canvasBorderAlpha": "0"
    },
    "data": [
        {
            "id": "TH.AC"
        },
        {
            "id": "TH.AT"
        },
        {
            "id": "TH.BR"
        },
        {
            "id": "TH.CC"
        },
        {
            "id": "TH.CN"
        },
        {
            "id": "TH.CY"
        },
        {
            "id": "TH.CT"
        },
        {
            "id": "TH.CM"
        },
        {
            "id": "TH.CR"
        },
        {
            "id": "TH.CB"
        },
        {
            "id": "TH.CP"
        },
        {
            "id": "TH.KL"
        },
        {
            "id": "TH.KP"
        },
        {
            "id": "TH.KN"
        },
        {
            "id": "TH.KK"
        },
        {
            "id": "TH.KR"
        },
        {
            "id": "TH.LG"
        },
        {
            "id": "TH.LN"
        },
        {
            "id": "TH.LE"
        },
        {
            "id": "TH.LB"
        },
        {
            "id": "TH.MH"
        },
        {
            "id": "TH.MS"
        },
        {
            "id": "TH.MD"
        },
        {
            "id": "TH.NN"
        },
        {
            "id": "TH.NP"
        },
        {
            "id": "TH.NF"
        },
        {
            "id": "TH.NR"
        },
        {
            "id": "TH.NS"
        },
        {
            "id": "TH.NT"
        },
        {
            "id": "TH.NA"
        },
        {
            "id": "TH.NW"
        },
        {
            "id": "TH.NB"
        },
        {
            "id": "TH.NK"
        },
        {
            "id": "TH.NO"
        },
        {
            "id": "TH.PT"
        },
        {
            "id": "TH.PI"
        },
        {
            "id": "TH.PG"
        },
        {
            "id": "TH.PL"
        },
        {
            "id": "TH.PY"
        },
        {
            "id": "TH.PH"
        },
        {
            "id": "TH.PE"
        },
        {
            "id": "TH.PC"
        },
        {
            "id": "TH.PS"
        },
        {
            "id": "TH.PR"
        },
        {
            "id": "TH.PU"
        },
        {
            "id": "TH.PK"
        },
        {
            "id": "TH.RN"
        },
        {
            "id": "TH.RT"
        },
        {
            "id": "TH.RY"
        },
        {
            "id": "TH.RE"
        },
        {
            "id": "TH.SK"
        },
        {
            "id": "TH.SN"
        },
        {
            "id": "TH.SP"
        },
        {
            "id": "TH.SS"
        },
        {
            "id": "TH.SM"
        },
        {
            "id": "TH.SR"
        },
        {
            "id": "TH.SA"
        },
        {
            "id": "TH.SB"
        },
        {
            "id": "TH.SI"
        },
        {
            "id": "TH.SG"
        },
        {
            "id": "TH.SO"
        },
        {
            "id": "TH.SH"
        },
        {
            "id": "TH.ST"
        },
        {
            "id": "TH.SU"
        },
        {
            "id": "TH.TK"
        },
        {
            "id": "TH.TG"
        },
        {
            "id": "TH.TT"
        },
        {
            "id": "TH.UR"
        },
        {
            "id": "TH.UN"
        },
        {
            "id": "TH.UT"
        },
        {
            "id": "TH.UD"
        },
        {
            "id": "TH.YL"
        },
        {
            "id": "TH.YS"
        }
    ],
    "markers": {
        "shapes": [
            {
                "id": "myCustomShape",
                "type": "circle",
                "fillcolor": "FFFFFF,333333",
                "fillpattern": "radial",
                "showborder": "0",
                "radius": "4"
            },
            {
                "id": "newCustomShape",
                "type": "circle",
                "fillcolor": "FFFFFF,000099",
                "fillpattern": "radial",
                "showborder": "0",
                "radius": "3"
            }
        ],
        "items": [
            {
                "id": "BA",
                "shapeid": "myCustomShape",
                "x": "245.86",
                "y": "547.57",
                "label": "Bangkok",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "274.28",
                "y": "584.73",
                "label": "Si Rancha",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "269.91",
                "y": "593.47",
                "label": "Laem Chabang",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "267.72",
                "y": "620.79",
                "label": "Sattahip",
                "labelpos": "left"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "322.36",
                "y": "469.99",
                "label": "Nakhan Ratchasima",
                "labelpos": "right"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "210.9",
                "y": "382.57",
                "label": "Nakhon Sawan",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "226.2",
                "y": "277.66",
                "label": "Phitsanulok"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "105.99",
                "y": "121.4",
                "label": "Chaing Mai",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "404.31",
                "y": "248.16",
                "label": "Udon Thani",
                "labelpos": "right"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "406.5",
                "y": "319.19",
                "label": "Khon Kaen"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "596.64",
                "y": "420.81",
                "label": "Ubon Ratchathani",
                "labelpos": "left"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "145.33",
                "y": "899.44",
                "label": "Surat Thani",
                "labelpos": "left"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "65.56",
                "y": "1002.16",
                "label": "Phuket",
                "labelpos": "left"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "244.77",
                "y": "1060.08",
                "label": "Songkhla",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "231.66",
                "y": "1067.72",
                "label": "Hat Yai",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "295.04",
                "y": "1085.21",
                "label": "Pattani",
                "labelpos": "right"
            }
        ]
    }
}

Old format for marker data in JSON, using separate application and definition blocks:

{
    "map": {
        "animation": "0",
        "showshadow": "0",
        "showbevel": "0",
        "showlabels": "0",
        "showmarkerlabels": "1",
        "fillcolor": "F1f1f1",
        "bordercolor": "999999",
        "basefont": "Verdana",
        "basefontsize": "10",
        "markerbordercolor": "000000",
        "markerbgcolor": "FF5904",
        "markerradius": "6",
        "legendposition": "bottom",
        "usehovercolor": "1",
        "showmarkertooltip": "1"
    },
    "data": [
        {
            "id": "TH.AC"
        },
        {
            "id": "TH.AT"
        },
        {
            "id": "TH.BR"
        },
        {
            "id": "TH.CC"
        },
        {
            "id": "TH.CN"
        },
        {
            "id": "TH.CY"
        },
        {
            "id": "TH.CT"
        },
        {
            "id": "TH.CM"
        },
        {
            "id": "TH.CR"
        },
        {
            "id": "TH.CB"
        },
        {
            "id": "TH.CP"
        },
        {
            "id": "TH.KL"
        },
        {
            "id": "TH.KP"
        },
        {
            "id": "TH.KN"
        },
        {
            "id": "TH.KK"
        },
        {
            "id": "TH.KR"
        },
        {
            "id": "TH.LG"
        },
        {
            "id": "TH.LN"
        },
        {
            "id": "TH.LE"
        },
        {
            "id": "TH.LB"
        },
        {
            "id": "TH.MH"
        },
        {
            "id": "TH.MS"
        },
        {
            "id": "TH.MD"
        },
        {
            "id": "TH.NN"
        },
        {
            "id": "TH.NP"
        },
        {
            "id": "TH.NF"
        },
        {
            "id": "TH.NR"
        },
        {
            "id": "TH.NS"
        },
        {
            "id": "TH.NT"
        },
        {
            "id": "TH.NA"
        },
        {
            "id": "TH.NW"
        },
        {
            "id": "TH.NB"
        },
        {
            "id": "TH.NK"
        },
        {
            "id": "TH.NO"
        },
        {
            "id": "TH.PT"
        },
        {
            "id": "TH.PI"
        },
        {
            "id": "TH.PG"
        },
        {
            "id": "TH.PL"
        },
        {
            "id": "TH.PY"
        },
        {
            "id": "TH.PH"
        },
        {
            "id": "TH.PE"
        },
        {
            "id": "TH.PC"
        },
        {
            "id": "TH.PS"
        },
        {
            "id": "TH.PR"
        },
        {
            "id": "TH.PU"
        },
        {
            "id": "TH.PK"
        },
        {
            "id": "TH.RN"
        },
        {
            "id": "TH.RT"
        },
        {
            "id": "TH.RY"
        },
        {
            "id": "TH.RE"
        },
        {
            "id": "TH.SK"
        },
        {
            "id": "TH.SN"
        },
        {
            "id": "TH.SP"
        },
        {
            "id": "TH.SS"
        },
        {
            "id": "TH.SM"
        },
        {
            "id": "TH.SR"
        },
        {
            "id": "TH.SA"
        },
        {
            "id": "TH.SB"
        },
        {
            "id": "TH.SI"
        },
        {
            "id": "TH.SG"
        },
        {
            "id": "TH.SO"
        },
        {
            "id": "TH.SH"
        },
        {
            "id": "TH.ST"
        },
        {
            "id": "TH.SU"
        },
        {
            "id": "TH.TK"
        },
        {
            "id": "TH.TG"
        },
        {
            "id": "TH.TT"
        },
        {
            "id": "TH.UR"
        },
        {
            "id": "TH.UN"
        },
        {
            "id": "TH.UT"
        },
        {
            "id": "TH.UD"
        },
        {
            "id": "TH.YL"
        },
        {
            "id": "TH.YS"
        }
    ],
    "markers": {
        "shapes": [
            {
                "id": "myCustomShape",
                "type": "circle",
                "fillcolor": "FFFFFF,333333",
                "fillpattern": "radial",
                "showborder": "0",
                "radius": "4"
            },
            {
                "id": "newCustomShape",
                "type": "circle",
                "fillcolor": "FFFFFF,000099",
                "fillpattern": "radial",
                "showborder": "0",
                "radius": "3"
            }
        ],
        "definition": [
            {
                "id": "BA",
                "x": "245.86",
                "y": "547.57",
                "label": "Bangkok",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "274.28",
                "y": "584.73",
                "label": "Si Rancha",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "269.91",
                "y": "593.47",
                "label": "Laem Chabang",
                "labelpos": "left"
            },
            {
                "id": "04",
                "x": "267.72",
                "y": "620.79",
                "label": "Sattahip",
                "labelpos": "left"
            },
            {
                "id": "05",
                "x": "322.36",
                "y": "469.99",
                "label": "Nakhan Ratchasima",
                "labelpos": "right"
            },
            {
                "id": "06",
                "x": "210.9",
                "y": "382.57",
                "label": "Nakhon Sawan",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "226.2",
                "y": "277.66",
                "label": "Phitsanulok"
            },
            {
                "id": "07",
                "x": "105.99",
                "y": "121.4",
                "label": "Chaing Mai",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "404.31",
                "y": "248.16",
                "label": "Udon Thani",
                "labelpos": "right"
            },
            {
                "id": "09",
                "x": "406.5",
                "y": "319.19",
                "label": "Khon Kaen"
            },
            {
                "id": "11",
                "x": "596.64",
                "y": "420.81",
                "label": "Ubon Ratchathani",
                "labelpos": "left"
            },
            {
                "id": "12",
                "x": "145.33",
                "y": "899.44",
                "label": "Surat Thani",
                "labelpos": "left"
            },
            {
                "id": "14",
                "x": "65.56",
                "y": "1002.16",
                "label": "Phuket",
                "labelpos": "left"
            },
            {
                "id": "15",
                "x": "244.77",
                "y": "1060.08",
                "label": "Songkhla",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "231.66",
                "y": "1067.72",
                "label": "Hat Yai",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "295.04",
                "y": "1085.21",
                "label": "Pattani",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "BA",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

Old format for marker data in XML, using separate and blocks:

<map animation='0' showShadow='0' showBevel='0' showLabels='0' showMarkerLabels='1' fillColor='F1f1f1' borderColor='999999' baseFont='Verdana' baseFontSize='10' markerBorderColor='000000' markerBgColor='FF5904' markerRadius='6' legendPosition='bottom' useHoverColor='1' showMarkerToolTip='1'  >
    <data>
        <entity id='TH.AC'  />
        <entity id='TH.AT'  />
        <entity id='TH.BR'  />
        <entity id='TH.CC'  />
        <entity id='TH.CN'  />
        <entity id='TH.CY'  />
        <entity id='TH.CT'  />
        <entity id='TH.CM'  />
        <entity id='TH.CR'  />
        <entity id='TH.CB'  />
        <entity id='TH.CP'  />
        <entity id='TH.KL'  />
        <entity id='TH.KP'  />
        <entity id='TH.KN'  />
        <entity id='TH.KK'  />
        <entity id='TH.KR'  />
        <entity id='TH.LG'  />
        <entity id='TH.LN'  />
        <entity id='TH.LE'  />
        <entity id='TH.LB'  />
        <entity id='TH.MH'  />
        <entity id='TH.MS'  />
        <entity id='TH.MD'  />
        <entity id='TH.NN'  />
        <entity id='TH.NP'  />
        <entity id='TH.NF'  />
        <entity id='TH.NR'  />
        <entity id='TH.NS'  />
        <entity id='TH.NT'  />
        <entity id='TH.NA'  />
        <entity id='TH.NW'  />
        <entity id='TH.NB'  />
        <entity id='TH.NK'  />
        <entity id='TH.NO'  />
        <entity id='TH.PT'  />
        <entity id='TH.PI'  />
        <entity id='TH.PG'  />
        <entity id='TH.PL'  />
        <entity id='TH.PY'  />
        <entity id='TH.PH'  />
        <entity id='TH.PE'  />
        <entity id='TH.PC'  />
        <entity id='TH.PS'  />
        <entity id='TH.PR'  />
        <entity id='TH.PU'  />
        <entity id='TH.PK'  />
        <entity id='TH.RN'  />
        <entity id='TH.RT'  />
        <entity id='TH.RY'  />
        <entity id='TH.RE'  />
        <entity id='TH.SK'  />
        <entity id='TH.SN'  />
        <entity id='TH.SP'  />
        <entity id='TH.SS'  />
        <entity id='TH.SM'  />
        <entity id='TH.SR'  />
        <entity id='TH.SA'  />
        <entity id='TH.SB'  />
        <entity id='TH.SI'  />
        <entity id='TH.SG'  />
        <entity id='TH.SO'  />
        <entity id='TH.SH'  />
        <entity id='TH.ST'  />
        <entity id='TH.SU'  />
        <entity id='TH.TK'  />
        <entity id='TH.TG'  />
        <entity id='TH.TT'  />
        <entity id='TH.UR'  />
        <entity id='TH.UN'  />
        <entity id='TH.UT'  />
        <entity id='TH.UD'  />
        <entity id='TH.YL'  />
        <entity id='TH.YS'  />
    </data>
    <markers>
     <shapes>
            <shape id='myCustomShape' type='circle' fillColor='FFFFFF,333333' fillPattern='radial' showBorder='0' radius='4'/>
             <shape id='newCustomShape' type='circle' fillColor='FFFFFF,000099' fillPattern='radial' 
showBorder='0' radius='3'/>    
      </shapes>     
        <definition>
            <marker id='BA' x='245.86' y='547.57' label='Bangkok' labelPos='right'  />
            <marker id='01' x='274.28' y='584.73' label='Si Rancha' labelPos='right' />
            <marker id='02' x='269.91' y='593.47' label='Laem Chabang' labelPos='left'  />
            <marker id='04' x='267.72' y='620.79' label='Sattahip' labelPos='left'  />
            <marker id='05' x='322.36' y='469.99' label='Nakhan Ratchasima' labelPos='right'  />
            <marker id='06' x='210.9' y='382.57' label='Nakhon Sawan' labelPos='left'  />
            <marker id='03' x='226.2' y='277.66' label='Phitsanulok'  />
            <marker id='07' x='105.99' y='121.4' label='Chaing Mai' labelPos='left'  />
            <marker id='08' x='404.31' y='248.16' label='Udon Thani' labelPos='right'  />
            <marker id='09' x='406.5' y='319.19' label='Khon Kaen'  />
            <marker id='11' x='596.64' y='420.81' label='Ubon Ratchathani' labelPos='left'  />
            <marker id='12' x='145.33' y='899.44' label='Surat Thani' labelPos='left'  />
            <marker id='14' x='65.56' y='1002.16' label='Phuket' labelPos='left'  />
            <marker id='15' x='244.77' y='1060.08' label='Songkhla' labelPos='right'  />
            <marker id='13' x='231.66' y='1067.72' label='Hat Yai' labelPos='left'  />
            <marker id='10' x='295.04' y='1085.21' label='Pattani' labelPos='right'  />
        </definition>
        <application>
            <marker id='BA' shapeId='myCustomShape'  />
            <marker id='01' shapeId='newCustomShape'  />
            <marker id='02' shapeId='newCustomShape'  />
            <marker id='04' shapeId='newCustomShape'  />
            <marker id='05' shapeId='newCustomShape'  />
            <marker id='06' shapeId='newCustomShape'  />

            <marker id='03' shapeId='newCustomShape'  />
            <marker id='07' shapeId='newCustomShape'  />
            <marker id='08' shapeId='newCustomShape'  />
            <marker id='09' shapeId='newCustomShape'  />
            <marker id='11' shapeId='newCustomShape'  />
            <marker id='12' shapeId='newCustomShape'  />
            <marker id='14' shapeId='newCustomShape'  />
            <marker id='15' shapeId='newCustomShape'  />
            <marker id='13' shapeId='newCustomShape'  />
            <marker id='10' shapeId='newCustomShape'  />
        </application>
    </markers>
</map>