Marker data

Map Name: Belarus

JavaScript Alias: maps/belarus


{
    "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": "MI",
                "shapeid": "myCustomShape",
                "x": "139.42",
                "y": "107.29",
                "label": "Minsk"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "186.3",
                "y": "27.08",
                "label": "Polatsk"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "232.13",
                "y": "72.91",
                "label": "Orsha",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "219.63",
                "y": "35.41",
                "label": "Vitsyebsk",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "245.67",
                "y": "114.58",
                "label": "Mahilyow"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "210.26",
                "y": "134.37",
                "label": "Babruysk",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "249.84",
                "y": "180.2",
                "label": "Homyel'"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "210.26",
                "y": "209.37",
                "label": "Mazyr"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "101.92",
                "y": "204.16",
                "label": "Pinsk"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "25.88",
                "y": "205.2",
                "label": "Brest",
                "labelpos": "right"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "37.34",
                "y": "118.75",
                "label": "Hrodna",
                "labelpos": "right"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "127.96",
                "y": "136.45",
                "label": "Baranavichy"
            }
        ]
    }
}

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": "MI",
                "x": "139.42",
                "y": "107.29",
                "label": "Minsk"
            },
            {
                "id": "01",
                "x": "186.3",
                "y": "27.08",
                "label": "Polatsk"
            },
            {
                "id": "03",
                "x": "232.13",
                "y": "72.91",
                "label": "Orsha",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "219.63",
                "y": "35.41",
                "label": "Vitsyebsk",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "245.67",
                "y": "114.58",
                "label": "Mahilyow"
            },
            {
                "id": "05",
                "x": "210.26",
                "y": "134.37",
                "label": "Babruysk",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "249.84",
                "y": "180.2",
                "label": "Homyel'"
            },
            {
                "id": "08",
                "x": "210.26",
                "y": "209.37",
                "label": "Mazyr"
            },
            {
                "id": "06",
                "x": "101.92",
                "y": "204.16",
                "label": "Pinsk"
            },
            {
                "id": "09",
                "x": "25.88",
                "y": "205.2",
                "label": "Brest",
                "labelpos": "right"
            },
            {
                "id": "11",
                "x": "37.34",
                "y": "118.75",
                "label": "Hrodna",
                "labelpos": "right"
            },
            {
                "id": "10",
                "x": "127.96",
                "y": "136.45",
                "label": "Baranavichy"
            }
        ],
        "application": [
            {
                "id": "MI",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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