Eritrea

Map Name: Eritrea

Javascript Alias: maps/eritrea

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": "ER.AN"
        },
        {
            "id": "ER.DU"
        },
        {
            "id": "ER.DK"
        },
        {
            "id": "ER.GB"
        },
        {
            "id": "ER.MA"
        },
        {
            "id": "ER.SK"
        }
    ],
    "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": "AS",
                "shapeid": "myCustomShape",
                "x": "136.08",
                "y": "194.1",
                "label": "Asmara",
                "labelpos": "left"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "115.54",
                "y": "80.1",
                "label": "Nakfa",
                "labelpos": "left"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "111.43",
                "y": "146.86",
                "label": "Keren"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "93.97",
                "y": "160.21",
                "label": "Akurdet",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "190.51",
                "y": "159.18",
                "label": "Massawa",
                "labelpos": "left"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "241.86",
                "y": "229.02",
                "label": "Kulul",
                "labelpos": "bottom"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "378.45",
                "y": "312.21",
                "label": "Assab",
                "labelpos": "left"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "276.78",
                "y": "217.72",
                "label": "Tio"
            }
        ]
    }
}

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": "ER.AN"
        },
        {
            "id": "ER.DU"
        },
        {
            "id": "ER.DK"
        },
        {
            "id": "ER.GB"
        },
        {
            "id": "ER.MA"
        },
        {
            "id": "ER.SK"
        }
    ],
    "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": "AS",
                "x": "136.08",
                "y": "194.1",
                "label": "Asmara",
                "labelpos": "left"
            },
            {
                "id": "01",
                "x": "115.54",
                "y": "80.1",
                "label": "Nakfa",
                "labelpos": "left"
            },
            {
                "id": "02",
                "x": "111.43",
                "y": "146.86",
                "label": "Keren"
            },
            {
                "id": "03",
                "x": "93.97",
                "y": "160.21",
                "label": "Akurdet",
                "labelpos": "left"
            },
            {
                "id": "04",
                "x": "190.51",
                "y": "159.18",
                "label": "Massawa",
                "labelpos": "left"
            },
            {
                "id": "05",
                "x": "241.86",
                "y": "229.02",
                "label": "Kulul",
                "labelpos": "bottom"
            },
            {
                "id": "06",
                "x": "378.45",
                "y": "312.21",
                "label": "Assab",
                "labelpos": "left"
            },
            {
                "id": "07",
                "x": "276.78",
                "y": "217.72",
                "label": "Tio"
            }
        ],
        "application": [
            {
                "id": "AS",
                "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"
            }
        ]
    }
}

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='ER.AN'  />
        <entity id='ER.DU'  />
        <entity id='ER.DK'  />
        <entity id='ER.GB'  />
        <entity id='ER.MA'  />
        <entity id='ER.SK'  />
    </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='AS' x='136.08' y='194.1' label='Asmara' labelPos='left'  />
            <marker id='01' x='115.54' y='80.1' label='Nakfa' labelPos='left'  />
            <marker id='02' x='111.43' y='146.86' label='Keren'  />
            <marker id='03' x='93.97' y='160.21' label='Akurdet' labelPos='left'  />
            <marker id='04' x='190.51' y='159.18' label='Massawa' labelPos='left'  />
            <marker id='05' x='241.86' y='229.02' label='Kulul' labelPos='bottom'  />
            <marker id='06' x='378.45' y='312.21' label='Assab' labelPos='left'  />
            <marker id='07' x='276.78' y='217.72' label='Tio'  />
        </definition>
        <application>
            <marker id='AS' 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'  />
        </application>
    </markers>
</map>