Bulgaria

Map Name: Bulgaria

Javascript Alias: maps/bulgaria

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"
    },
    "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": "SO",
                "shapeid": "myCustomShape",
                "x": "103.91",
                "y": "208.94",
                "label": "Sofia"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "37.45",
                "y": "54.91",
                "label": "Vidin"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "80.7",
                "y": "294.39",
                "label": "Blagoevgrad"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "243.17",
                "y": "316.55",
                "label": "Kurdzhali"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "209.41",
                "y": "249.03",
                "label": "Plovdiv"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "235.79",
                "y": "209.99",
                "label": "Stara Zagora"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "215.74",
                "y": "88.67",
                "label": "Pleven"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "323.35",
                "y": "49.63",
                "label": "Ruse"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "499.54",
                "y": "44.36",
                "label": "Dobrich"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "501.65",
                "y": "120.32",
                "label": "Varna"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "466.83",
                "y": "216.32",
                "label": "Burgas"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "360.28",
                "y": "173.07",
                "label": "Sliven"
            }
        ]
    }
}

Old format for marker data in JSON, using separate application and definition blocks:

{
    "map": {},
    "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": "SO",
                "x": "103.91",
                "y": "208.94",
                "label": "Sofia"
            },
            {
                "id": "01",
                "x": "37.45",
                "y": "54.91",
                "label": "Vidin"
            },
            {
                "id": "02",
                "x": "80.7",
                "y": "294.39",
                "label": "Blagoevgrad"
            },
            {
                "id": "03",
                "x": "243.17",
                "y": "316.55",
                "label": "Kurdzhali"
            },
            {
                "id": "04",
                "x": "209.41",
                "y": "249.03",
                "label": "Plovdiv"
            },
            {
                "id": "05",
                "x": "235.79",
                "y": "209.99",
                "label": "Stara Zagora"
            },
            {
                "id": "06",
                "x": "215.74",
                "y": "88.67",
                "label": "Pleven"
            },
            {
                "id": "08",
                "x": "323.35",
                "y": "49.63",
                "label": "Ruse"
            },
            {
                "id": "07",
                "x": "499.54",
                "y": "44.36",
                "label": "Dobrich"
            },
            {
                "id": "09",
                "x": "501.65",
                "y": "120.32",
                "label": "Varna"
            },
            {
                "id": "10",
                "x": "466.83",
                "y": "216.32",
                "label": "Burgas"
            },
            {
                "id": "11",
                "x": "360.28",
                "y": "173.07",
                "label": "Sliven"
            }
        ],
        "application": [
            {
                "id": "SO",
                "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": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

Old format for marker data in XML, using separate and blocks:

<map> 
    <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='SO' x='103.91' y='208.94' label='Sofia'  />
            <marker id='01' x='37.45' y='54.91' label='Vidin'  />
            <marker id='02' x='80.7' y='294.39' label='Blagoevgrad'  />
            <marker id='03' x='243.17' y='316.55' label='Kurdzhali'  />
            <marker id='04' x='209.41' y='249.03' label='Plovdiv'  />
            <marker id='05' x='235.79' y='209.99' label='Stara Zagora'  />
            <marker id='06' x='215.74' y='88.67' label='Pleven'  />
            <marker id='08' x='323.35' y='49.63' label='Ruse'  />
            <marker id='07' x='499.54' y='44.36' label='Dobrich'  />
            <marker id='09' x='501.65' y='120.32' label='Varna'  />
            <marker id='10' x='466.83' y='216.32' label='Burgas'   />
            <marker id='11' x='360.28' y='173.07' label='Sliven'  />

        </definition>
        <application>
            <marker id='SO' 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='08' shapeId='newCustomShape'  />
            <marker id='07' shapeId='newCustomShape'  />
            <marker id='09' shapeId='newCustomShape'  />
            <marker id='10' shapeId='newCustomShape'  />
            <marker id='11' shapeId='newCustomShape'  />

        </application>
    </markers>
</map>