Marker data

Map Name: Denmark

JavaScript Alias: maps/denmark


{
    "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": "CO",
                "shapeid": "myCustomShape",
                "x": "422.54",
                "y": "342.93",
                "label": "Copenhavens",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "241.46",
                "y": "7.08",
                "label": "Skagen",
                "labelpos": "bottom"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "178.75",
                "y": "120.38",
                "label": "Alborg",
                "labelpos": "right"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "204.04",
                "y": "260.99",
                "label": "Arhus",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "145.36",
                "y": "331.8",
                "label": "Vejle"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "134.23",
                "y": "370.24",
                "label": "Kolding"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "39.14",
                "y": "368.22",
                "label": "Esbjerg",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "126.14",
                "y": "447.12",
                "label": "Abenra",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "217.19",
                "y": "387.44",
                "label": "Odense",
                "labelpos": "left"
            }
        ]
    }
}

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": "CO",
                "x": "422.54",
                "y": "342.93",
                "label": "Copenhavens",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "241.46",
                "y": "7.08",
                "label": "Skagen",
                "labelpos": "bottom"
            },
            {
                "id": "02",
                "x": "178.75",
                "y": "120.38",
                "label": "Alborg",
                "labelpos": "right"
            },
            {
                "id": "03",
                "x": "204.04",
                "y": "260.99",
                "label": "Arhus",
                "labelpos": "left"
            },
            {
                "id": "04",
                "x": "145.36",
                "y": "331.8",
                "label": "Vejle"
            },
            {
                "id": "05",
                "x": "134.23",
                "y": "370.24",
                "label": "Kolding"
            },
            {
                "id": "06",
                "x": "39.14",
                "y": "368.22",
                "label": "Esbjerg",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "126.14",
                "y": "447.12",
                "label": "Abenra",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "217.19",
                "y": "387.44",
                "label": "Odense",
                "labelpos": "left"
            }
        ],
        "application": [
            {
                "id": "CO",
                "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.