Somalia

Map Name: Somalia

Javascript Alias: maps/somalia

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

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": "",
        "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 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='' markerRadius='' legendPosition='bottom' useHoverColor='1' showMarkerToolTip='1'  >
    <data>
        <entity id='SO.AW'  />
        <entity id='SO.BK'  />
        <entity id='SO.BN'  />
        <entity id='SO.BR'  />
        <entity id='SO.BY'  />
        <entity id='SO.GA'  />
        <entity id='SO.GE'  />
        <entity id='SO.HI'  />
        <entity id='SO.JD'  />
        <entity id='SO.JH'  />
        <entity id='SO.MU'  />
        <entity id='SO.NU'  />
        <entity id='SO.SA'  />
        <entity id='SO.SD'  />
        <entity id='SO.SH'  />
        <entity id='SO.SO'  />
        <entity id='SO.TO'  />
        <entity id='SO.WO'  />
    </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='MG' x='216.27' y='433.67' label='Mogadishu' labelPos='right'  />
            <marker id='01' x='187.57' y='112.85' label='Berbera' labelPos='right'  />
            <marker id='02' x='342.35' y='69.8' label='Bender Cassim' labelPos='bottom'  />
            <marker id='03' x='358.74' y='65.7' label='Boosaaso' labelPos='right'  />
            <marker id='04' x='84.05' y='547.45' label='Chisimayu' labelPos='right'  />
            <marker id='05' x='185.52' y='452.12' label='Merca' labelPos='right'  />
            <marker id='06' x='182.45' y='412.15' label='Baidoa' labelPos='right'  />
            <marker id='07' x='189.62' y='331.17' label='Beledweyne' labelPos='right'  />
            <marker id='08' x='276.75' y='242' label='Galcaio' labelPos='right'  />
            <marker id='09' x='316.72' y='182.55' label='Garoowe' labelPos='left'  />
            <marker id='10' x='143.5' y='143.6' label='Hargeysa' labelPos='right'  />
        </definition>
        <application>
            <marker id='MG' shapeId='myCustomShape'  />
            <marker id='01' shapeId='newCustomShape'  />
            <marker id='02' shapeId='newCustomShape'  />
            <marker id='03' shapeId='newCustomShape'  />
            <marker id='04' shapeId='newCustomShape'  />
            <marker id='05' shapeId='newCustomShape'  />
            <marker id='06' shapeId='newCustomShape'  />
            <marker id='07' shapeId='newCustomShape'  />
            <marker id='08' shapeId='newCustomShape'  />
            <marker id='09' shapeId='newCustomShape'  />
            <marker id='10' shapeId='newCustomShape'  />
        </application>
    </markers>
</map>