Marker data

Map Name: Tanzania

JavaScript Alias: maps/tanzania


{
    "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": "TZ.AS"
        },
        {
            "id": "TZ.DS"
        },
        {
            "id": "TZ.DO"
        },
        {
            "id": "TZ.IR"
        },
        {
            "id": "TZ.KR"
        },
        {
            "id": "TZ.KM"
        },
        {
            "id": "TZ.KL"
        },
        {
            "id": "TZ.LI"
        },
        {
            "id": "TZ.MY"
        },
        {
            "id": "TZ.MA"
        },
        {
            "id": "TZ.MB"
        },
        {
            "id": "TZ.MO"
        },
        {
            "id": "TZ.MT"
        },
        {
            "id": "TZ.MW"
        },
        {
            "id": "TZ.PN"
        },
        {
            "id": "TZ.PS"
        },
        {
            "id": "TZ.PW"
        },
        {
            "id": "TZ.RK"
        },
        {
            "id": "TZ.RV"
        },
        {
            "id": "TZ.SH"
        },
        {
            "id": "TZ.SD"
        },
        {
            "id": "TZ.TB"
        },
        {
            "id": "TZ.TN"
        },
        {
            "id": "TZ.ZN"
        },
        {
            "id": "TZ.ZS"
        },
        {
            "id": "TZ.ZW"
        }
    ],
    "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": "DA",
                "shapeid": "myCustomShape",
                "x": "475.49",
                "y": "310.49",
                "label": "Dar Es Salaam",
                "labelpos": "left"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "29.52",
                "y": "205.62",
                "label": "Kigoma",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "141.52",
                "y": "217.84",
                "label": "Tabora",
                "labelpos": "right"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "196.5",
                "y": "101.76",
                "label": "Mwanza",
                "labelpos": "bottom"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "222.98",
                "y": "55.94",
                "label": "Musoma",
                "labelpos": "right"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "125.23",
                "y": "31.51",
                "label": "Bukoba",
                "labelpos": "right"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "351.27",
                "y": "121.11",
                "label": "Arusha",
                "labelpos": "left"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "361.45",
                "y": "278.93",
                "label": "Dodoma",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "521.3",
                "y": "480.53",
                "label": "Mtwara",
                "labelpos": "left"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "484.65",
                "y": "442.85",
                "label": "Lindi",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "317.67",
                "y": "505.98",
                "label": "Scngea",
                "labelpos": "right"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "181.23",
                "y": "406.2",
                "label": "Mbeya",
                "labelpos": "right"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "103.85",
                "y": "378.71",
                "label": "Sumbawanga",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "297.3",
                "y": "353.25",
                "label": "Iringa",
                "labelpos": "left"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "477.52",
                "y": "219.87",
                "label": "Tanga",
                "labelpos": "left"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "471.41",
                "y": "246.34",
                "label": "Pangani",
                "labelpos": "left"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "481.6",
                "y": "273.84",
                "label": "Zanzibar",
                "labelpos": "left"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "478.54",
                "y": "396.02",
                "label": "Kilwa Masoko",
                "labelpos": "left"
            }
        ]
    }
}

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": "",
        "markerradius": "",
        "legendposition": "bottom",
        "usehovercolor": "1",
        "showmarkertooltip": "1"
    },
    "data": [
        {
            "id": "TZ.AS"
        },
        {
            "id": "TZ.DS"
        },
        {
            "id": "TZ.DO"
        },
        {
            "id": "TZ.IR"
        },
        {
            "id": "TZ.KR"
        },
        {
            "id": "TZ.KM"
        },
        {
            "id": "TZ.KL"
        },
        {
            "id": "TZ.LI"
        },
        {
            "id": "TZ.MY"
        },
        {
            "id": "TZ.MA"
        },
        {
            "id": "TZ.MB"
        },
        {
            "id": "TZ.MO"
        },
        {
            "id": "TZ.MT"
        },
        {
            "id": "TZ.MW"
        },
        {
            "id": "TZ.PN"
        },
        {
            "id": "TZ.PS"
        },
        {
            "id": "TZ.PW"
        },
        {
            "id": "TZ.RK"
        },
        {
            "id": "TZ.RV"
        },
        {
            "id": "TZ.SH"
        },
        {
            "id": "TZ.SD"
        },
        {
            "id": "TZ.TB"
        },
        {
            "id": "TZ.TN"
        },
        {
            "id": "TZ.ZN"
        },
        {
            "id": "TZ.ZS"
        },
        {
            "id": "TZ.ZW"
        }
    ],
    "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": "DA",
                "x": "475.49",
                "y": "310.49",
                "label": "Dar Es Salaam",
                "labelpos": "left"
            },
            {
                "id": "01",
                "x": "29.52",
                "y": "205.62",
                "label": "Kigoma",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "141.52",
                "y": "217.84",
                "label": "Tabora",
                "labelpos": "right"
            },
            {
                "id": "03",
                "x": "196.5",
                "y": "101.76",
                "label": "Mwanza",
                "labelpos": "bottom"
            },
            {
                "id": "04",
                "x": "222.98",
                "y": "55.94",
                "label": "Musoma",
                "labelpos": "right"
            },
            {
                "id": "05",
                "x": "125.23",
                "y": "31.51",
                "label": "Bukoba",
                "labelpos": "right"
            },
            {
                "id": "06",
                "x": "351.27",
                "y": "121.11",
                "label": "Arusha",
                "labelpos": "left"
            },
            {
                "id": "07",
                "x": "361.45",
                "y": "278.93",
                "label": "Dodoma",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "521.3",
                "y": "480.53",
                "label": "Mtwara",
                "labelpos": "left"
            },
            {
                "id": "09",
                "x": "484.65",
                "y": "442.85",
                "label": "Lindi",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "317.67",
                "y": "505.98",
                "label": "Scngea",
                "labelpos": "right"
            },
            {
                "id": "11",
                "x": "181.23",
                "y": "406.2",
                "label": "Mbeya",
                "labelpos": "right"
            },
            {
                "id": "12",
                "x": "103.85",
                "y": "378.71",
                "label": "Sumbawanga",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "297.3",
                "y": "353.25",
                "label": "Iringa",
                "labelpos": "left"
            },
            {
                "id": "14",
                "x": "477.52",
                "y": "219.87",
                "label": "Tanga",
                "labelpos": "left"
            },
            {
                "id": "15",
                "x": "471.41",
                "y": "246.34",
                "label": "Pangani",
                "labelpos": "left"
            },
            {
                "id": "16",
                "x": "481.6",
                "y": "273.84",
                "label": "Zanzibar",
                "labelpos": "left"
            },
            {
                "id": "17",
                "x": "478.54",
                "y": "396.02",
                "label": "Kilwa Masoko",
                "labelpos": "left"
            }
        ],
        "application": [
            {
                "id": "DA",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

Old JSON format for map marker data, using separate application and definition blocks.