Marker data

Map Name: Albania

JavaScript Alias: maps/albania


{
    "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": "TR",
                "shapeid": "myCustomShape",
                "x": "65.94",
                "y": "172.11",
                "label": "Tirana",
                "labelpos": "right"
            },
            {
                "id": "EL",
                "shapeid": "newCustomShape",
                "x": "83.82",
                "y": "210.11",
                "label": "Elbasan"
            },
            {
                "id": "SH",
                "shapeid": "newCustomShape",
                "x": "32.41",
                "y": "80.47",
                "label": "Shkoder "
            },
            {
                "id": "KO",
                "shapeid": "newCustomShape",
                "x": "154.23",
                "y": "262.64",
                "label": "Korce"
            },
            {
                "id": "SA",
                "shapeid": "newCustomShape",
                "x": "81.58",
                "y": "371.05",
                "label": "Sarande"
            },
            {
                "id": "DR",
                "shapeid": "newCustomShape",
                "x": "23.47",
                "y": "176.58",
                "label": "Durres "
            },
            {
                "id": "VL",
                "shapeid": "newCustomShape",
                "x": "30.17",
                "y": "292.82",
                "label": "Vlore "
            },
            {
                "id": "SG",
                "shapeid": "newCustomShape",
                "x": "38",
                "y": "109.52",
                "label": "Shengjin"
            }
        ]
    }
}

New JSON format for map marker data.


{
    "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": "TR",
                "x": "65.94",
                "y": "172.11",
                "label": "Tirana",
                "labelpos": "right"
            },
            {
                "id": "EL",
                "x": "83.82",
                "y": "210.11",
                "label": "Elbasan"
            },
            {
                "id": "SH",
                "x": "32.41",
                "y": "80.47",
                "label": "Shkoder "
            },
            {
                "id": "KO",
                "x": "154.23",
                "y": "262.64",
                "label": "Korce"
            },
            {
                "id": "SA",
                "x": "81.58",
                "y": "371.05",
                "label": "Sarande"
            },
            {
                "id": "DR",
                "x": "23.47",
                "y": "176.58",
                "label": "Durres "
            },
            {
                "id": "VL",
                "x": "30.17",
                "y": "292.82",
                "label": "Vlore "
            },
            {
                "id": "SG",
                "x": "38",
                "y": "109.52",
                "label": "Shengjin"
            }
        ],
        "application": [
            {
                "id": "TR",
                "shapeid": "myCustomShape"
            },
            {
                "id": "EL",
                "shapeid": "newCustomShape"
            },
            {
                "id": "SH",
                "shapeid": "newCustomShape"
            },
            {
                "id": "KO",
                "shapeid": "newCustomShape"
            },
            {
                "id": "SA",
                "shapeid": "newCustomShape"
            },
            {
                "id": "DR",
                "shapeid": "newCustomShape"
            },
            {
                "id": "VL",
                "shapeid": "newCustomShape"
            },
            {
                "id": "SG",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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