Bosnia-Herzegovina

Map Name: Bosnia-Herzegovina

Javascript Alias: maps/bosnia-herzegovina

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": "SJ",
                "shapeid": "myCustomShape",
                "x": "321.71",
                "y": "266.77",
                "label": "Sarajevo",
                "labelpos": "left"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "15.73",
                "y": "82.75",
                "label": "Bihac",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "224.8",
                "y": "350.62",
                "label": "Mostar"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "401.2",
                "y": "299.44",
                "label": "Gorazde",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "273.8",
                "y": "213.42",
                "label": "Zenica"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "357.64",
                "y": "156.79",
                "label": "Tuzla"
            }
        ]
    }
}

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": "SJ",
                "x": "321.71",
                "y": "266.77",
                "label": "Sarajevo",
                "labelpos": "left"
            },
            {
                "id": "01",
                "x": "15.73",
                "y": "82.75",
                "label": "Bihac",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "224.8",
                "y": "350.62",
                "label": "Mostar"
            },
            {
                "id": "03",
                "x": "401.2",
                "y": "299.44",
                "label": "Gorazde",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "273.8",
                "y": "213.42",
                "label": "Zenica"
            },
            {
                "id": "05",
                "x": "357.64",
                "y": "156.79",
                "label": "Tuzla"
            }
        ],
        "application": [
            {
                "id": "SJ",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "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='SJ' x='321.71' y='266.77' label='Sarajevo' labelPos='left'  />
            <marker id='01' x='15.73' y='82.75' label='Bihac' labelPos='right' />
            <marker id='02' x='224.8' y='350.62' label='Mostar'  />
            <marker id='03' x='401.2' y='299.44' label='Gorazde' labelPos='right'  />
            <marker id='04' x='273.8' y='213.42' label='Zenica'  />
            <marker id='05' x='357.64' y='156.79' label='Tuzla'  />

        </definition>
        <application>
            <marker id='SJ' 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'  />
        </application>
    </markers>
</map>