Marker data

Map Name: Somalia

JavaScript Alias: maps/somalia


{
    "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": "SO.AW"
        },
        {
            "id": "SO.BK"
        },
        {
            "id": "SO.BN"
        },
        {
            "id": "SO.BR"
        },
        {
            "id": "SO.BY"
        },
        {
            "id": "SO.GA"
        },
        {
            "id": "SO.GE"
        },
        {
            "id": "SO.HI"
        },
        {
            "id": "SO.JD"
        },
        {
            "id": "SO.JH"
        },
        {
            "id": "SO.MU"
        },
        {
            "id": "SO.NU"
        },
        {
            "id": "SO.SA"
        },
        {
            "id": "SO.SD"
        },
        {
            "id": "SO.SH"
        },
        {
            "id": "SO.SO"
        },
        {
            "id": "SO.TO"
        },
        {
            "id": "SO.WO"
        }
    ],
    "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": "MG",
                "shapeid": "myCustomShape",
                "x": "216.27",
                "y": "433.67",
                "label": "Mogadishu",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "187.57",
                "y": "112.85",
                "label": "Berbera",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "342.35",
                "y": "69.8",
                "label": "Bender Cassim",
                "labelpos": "bottom"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "358.74",
                "y": "65.7",
                "label": "Boosaaso",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "84.05",
                "y": "547.45",
                "label": "Chisimayu",
                "labelpos": "right"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "185.52",
                "y": "452.12",
                "label": "Merca",
                "labelpos": "right"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "182.45",
                "y": "412.15",
                "label": "Baidoa",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "189.62",
                "y": "331.17",
                "label": "Beledweyne",
                "labelpos": "right"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "276.75",
                "y": "242",
                "label": "Galcaio",
                "labelpos": "right"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "316.72",
                "y": "182.55",
                "label": "Garoowe",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "143.5",
                "y": "143.6",
                "label": "Hargeysa",
                "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": "SO.AW"
        },
        {
            "id": "SO.BK"
        },
        {
            "id": "SO.BN"
        },
        {
            "id": "SO.BR"
        },
        {
            "id": "SO.BY"
        },
        {
            "id": "SO.GA"
        },
        {
            "id": "SO.GE"
        },
        {
            "id": "SO.HI"
        },
        {
            "id": "SO.JD"
        },
        {
            "id": "SO.JH"
        },
        {
            "id": "SO.MU"
        },
        {
            "id": "SO.NU"
        },
        {
            "id": "SO.SA"
        },
        {
            "id": "SO.SD"
        },
        {
            "id": "SO.SH"
        },
        {
            "id": "SO.SO"
        },
        {
            "id": "SO.TO"
        },
        {
            "id": "SO.WO"
        }
    ],
    "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": "MG",
                "x": "216.27",
                "y": "433.67",
                "label": "Mogadishu",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "187.57",
                "y": "112.85",
                "label": "Berbera",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "342.35",
                "y": "69.8",
                "label": "Bender Cassim",
                "labelpos": "bottom"
            },
            {
                "id": "03",
                "x": "358.74",
                "y": "65.7",
                "label": "Boosaaso",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "84.05",
                "y": "547.45",
                "label": "Chisimayu",
                "labelpos": "right"
            },
            {
                "id": "05",
                "x": "185.52",
                "y": "452.12",
                "label": "Merca",
                "labelpos": "right"
            },
            {
                "id": "06",
                "x": "182.45",
                "y": "412.15",
                "label": "Baidoa",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "189.62",
                "y": "331.17",
                "label": "Beledweyne",
                "labelpos": "right"
            },
            {
                "id": "08",
                "x": "276.75",
                "y": "242",
                "label": "Galcaio",
                "labelpos": "right"
            },
            {
                "id": "09",
                "x": "316.72",
                "y": "182.55",
                "label": "Garoowe",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "143.5",
                "y": "143.6",
                "label": "Hargeysa",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "MG",
                "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"
            }
        ]
    }
}

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