Marker data

Map Name: Nigeria

JavaScript Alias: maps/nigeria


{
    "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": "NG.AB"
        },
        {
            "id": "NG.FC"
        },
        {
            "id": "NG.AD"
        },
        {
            "id": "NG.AK"
        },
        {
            "id": "NG.AN"
        },
        {
            "id": "NG.BA"
        },
        {
            "id": "NG.BY"
        },
        {
            "id": "NG.BE"
        },
        {
            "id": "NG.BO"
        },
        {
            "id": "NG.CR"
        },
        {
            "id": "NG.DE"
        },
        {
            "id": "NG.EB"
        },
        {
            "id": "NG.ED"
        },
        {
            "id": "NG.EK"
        },
        {
            "id": "NG.EN"
        },
        {
            "id": "NG.GO"
        },
        {
            "id": "NG.IM"
        },
        {
            "id": "NG.JI"
        },
        {
            "id": "NG.KD"
        },
        {
            "id": "NG.KN"
        },
        {
            "id": "NG.KT"
        },
        {
            "id": "NG.KE"
        },
        {
            "id": "NG.KO"
        },
        {
            "id": "NG.KW"
        },
        {
            "id": "NG.LA"
        },
        {
            "id": "NG.NA"
        },
        {
            "id": "NG.NI"
        },
        {
            "id": "NG.OG"
        },
        {
            "id": "NG.ON"
        },
        {
            "id": "NG.OS"
        },
        {
            "id": "NG.OY"
        },
        {
            "id": "NG.PL"
        },
        {
            "id": "NG.RI"
        },
        {
            "id": "NG.SO"
        },
        {
            "id": "NG.TA"
        },
        {
            "id": "NG.YO"
        },
        {
            "id": "NG.ZA"
        }
    ],
    "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": "AB",
                "shapeid": "myCustomShape",
                "x": "152.51",
                "y": "188.97",
                "label": "Abuja",
                "labelpos": "left"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "77.54",
                "y": "30.81",
                "label": "Sokoto",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "162.78",
                "y": "53.4",
                "label": "Katsina",
                "labelpos": "right"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "195.64",
                "y": "100.64",
                "label": "Kano",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "391.81",
                "y": "74.97",
                "label": "Maiduguri",
                "labelpos": "left"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "351.75",
                "y": "184.86",
                "label": "Yola",
                "labelpos": "left"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "168.94",
                "y": "162.27",
                "label": "Jos",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "147.37",
                "y": "102.7",
                "label": "Zaria",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "134.02",
                "y": "120.16",
                "label": "Kaduna",
                "labelpos": "left"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "43.64",
                "y": "215.67",
                "label": "Ogbomoso",
                "labelpos": "right"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "44.67",
                "y": "235.18",
                "label": "Oshogbo",
                "labelpos": "right"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "167.91",
                "y": "273.18",
                "label": "Enugu",
                "labelpos": "right"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "91.91",
                "y": "311.18",
                "label": "Warri",
                "labelpos": "left"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "26.18",
                "y": "289.62",
                "label": "Lagos",
                "labelpos": "bottom"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "156.62",
                "y": "358.43",
                "label": "Port Harcourt",
                "labelpos": "right"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "207.97",
                "y": "238.27",
                "label": "Makurdi",
                "labelpos": "right"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "55.97",
                "y": "191.02",
                "label": "Ilorin"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "26.18",
                "y": "249.56",
                "label": "Ibadan",
                "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": "",
        "markerradius": "",
        "legendposition": "bottom",
        "usehovercolor": "1",
        "showmarkertooltip": "1"
    },
    "data": [
        {
            "id": "NG.AB"
        },
        {
            "id": "NG.FC"
        },
        {
            "id": "NG.AD"
        },
        {
            "id": "NG.AK"
        },
        {
            "id": "NG.AN"
        },
        {
            "id": "NG.BA"
        },
        {
            "id": "NG.BY"
        },
        {
            "id": "NG.BE"
        },
        {
            "id": "NG.BO"
        },
        {
            "id": "NG.CR"
        },
        {
            "id": "NG.DE"
        },
        {
            "id": "NG.EB"
        },
        {
            "id": "NG.ED"
        },
        {
            "id": "NG.EK"
        },
        {
            "id": "NG.EN"
        },
        {
            "id": "NG.GO"
        },
        {
            "id": "NG.IM"
        },
        {
            "id": "NG.JI"
        },
        {
            "id": "NG.KD"
        },
        {
            "id": "NG.KN"
        },
        {
            "id": "NG.KT"
        },
        {
            "id": "NG.KE"
        },
        {
            "id": "NG.KO"
        },
        {
            "id": "NG.KW"
        },
        {
            "id": "NG.LA"
        },
        {
            "id": "NG.NA"
        },
        {
            "id": "NG.NI"
        },
        {
            "id": "NG.OG"
        },
        {
            "id": "NG.ON"
        },
        {
            "id": "NG.OS"
        },
        {
            "id": "NG.OY"
        },
        {
            "id": "NG.PL"
        },
        {
            "id": "NG.RI"
        },
        {
            "id": "NG.SO"
        },
        {
            "id": "NG.TA"
        },
        {
            "id": "NG.YO"
        },
        {
            "id": "NG.ZA"
        }
    ],
    "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": "AB",
                "x": "152.51",
                "y": "188.97",
                "label": "Abuja",
                "labelpos": "left"
            },
            {
                "id": "01",
                "x": "77.54",
                "y": "30.81",
                "label": "Sokoto",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "162.78",
                "y": "53.4",
                "label": "Katsina",
                "labelpos": "right"
            },
            {
                "id": "03",
                "x": "195.64",
                "y": "100.64",
                "label": "Kano",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "391.81",
                "y": "74.97",
                "label": "Maiduguri",
                "labelpos": "left"
            },
            {
                "id": "05",
                "x": "351.75",
                "y": "184.86",
                "label": "Yola",
                "labelpos": "left"
            },
            {
                "id": "06",
                "x": "168.94",
                "y": "162.27",
                "label": "Jos",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "147.37",
                "y": "102.7",
                "label": "Zaria",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "134.02",
                "y": "120.16",
                "label": "Kaduna",
                "labelpos": "left"
            },
            {
                "id": "09",
                "x": "43.64",
                "y": "215.67",
                "label": "Ogbomoso",
                "labelpos": "right"
            },
            {
                "id": "10",
                "x": "44.67",
                "y": "235.18",
                "label": "Oshogbo",
                "labelpos": "right"
            },
            {
                "id": "11",
                "x": "167.91",
                "y": "273.18",
                "label": "Enugu",
                "labelpos": "right"
            },
            {
                "id": "12",
                "x": "91.91",
                "y": "311.18",
                "label": "Warri",
                "labelpos": "left"
            },
            {
                "id": "13",
                "x": "26.18",
                "y": "289.62",
                "label": "Lagos",
                "labelpos": "bottom"
            },
            {
                "id": "14",
                "x": "156.62",
                "y": "358.43",
                "label": "Port Harcourt",
                "labelpos": "right"
            },
            {
                "id": "15",
                "x": "207.97",
                "y": "238.27",
                "label": "Makurdi",
                "labelpos": "right"
            },
            {
                "id": "16",
                "x": "55.97",
                "y": "191.02",
                "label": "Ilorin"
            },
            {
                "id": "17",
                "x": "26.18",
                "y": "249.56",
                "label": "Ibadan",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "AB",
                "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.