Marker data

Map Name: Slovenia

JavaScript Alias: maps/slovenia


{
    "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": "LJ",
                "shapeid": "myCustomShape",
                "x": "201.96",
                "y": "214.64",
                "label": "Ljubljana"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "58.18",
                "y": "257.78",
                "label": "Nova Gorica",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "72.55",
                "y": "355.35",
                "label": "Izola",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "59.2",
                "y": "366.64",
                "label": "Piran",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "306.72",
                "y": "257.78",
                "label": "Novo Mesto",
                "labelpos": "left"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "176.28",
                "y": "161.24",
                "label": "Kranj",
                "labelpos": "left"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "339.58",
                "y": "121.18",
                "label": "Velenje",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "365.26",
                "y": "153.02",
                "label": "Celje",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "410.45",
                "y": "70.86",
                "label": "Maribor",
                "labelpos": "right"
            }
        ]
    }
}

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": "LJ",
                "x": "201.96",
                "y": "214.64",
                "label": "Ljubljana"
            },
            {
                "id": "01",
                "x": "58.18",
                "y": "257.78",
                "label": "Nova Gorica",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "72.55",
                "y": "355.35",
                "label": "Izola",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "59.2",
                "y": "366.64",
                "label": "Piran",
                "labelpos": "left"
            },
            {
                "id": "04",
                "x": "306.72",
                "y": "257.78",
                "label": "Novo Mesto",
                "labelpos": "left"
            },
            {
                "id": "05",
                "x": "176.28",
                "y": "161.24",
                "label": "Kranj",
                "labelpos": "left"
            },
            {
                "id": "06",
                "x": "339.58",
                "y": "121.18",
                "label": "Velenje",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "365.26",
                "y": "153.02",
                "label": "Celje",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "410.45",
                "y": "70.86",
                "label": "Maribor",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "LJ",
                "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"
            }
        ]
    }
}

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