Marker data

Map Name: Thailand

JavaScript Alias: maps/thailand


{
    "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"
            }
        ]
    }
}

New JSON format for map marker data.


{
    "map": {
        "animation": "0",
        "showshadow": "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 JSON format for map marker data, using separate application and definition blocks.