Marker data

Map Name: Alberta

JavaScript Alias: maps/alberta


{
    "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"
    },
    "data": [
        {
            "id": "CA.AB.AC"
        },
        {
            "id": "CA.AB.AN"
        },
        {
            "id": "CA.AB.AS"
        },
        {
            "id": "CA.AB.CA"
        },
        {
            "id": "CA.AB.CR"
        },
        {
            "id": "CA.AB.EA"
        }
    ],
    "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": "ED",
                "shapeid": "myCustomShape",
                "x": "158.64",
                "y": "267.42",
                "label": "Edmonton",
                "labelpos": "left"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "108.68",
                "y": "77.38",
                "label": "High Level"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "223.29",
                "y": "138.12",
                "label": "Fort Mc Murray",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "117.5",
                "y": "159.67",
                "label": "Peace River",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "56.76",
                "y": "195.91",
                "label": "Grande Prairie",
                "labelpos": "right"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "62.64",
                "y": "283.1",
                "label": "Jasper",
                "labelpos": "right"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "153.74",
                "y": "326.2",
                "label": "Red Deer",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "110.64",
                "y": "368.32",
                "label": "Banff",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "140.03",
                "y": "369.3",
                "label": "Calgary",
                "labelpos": "right"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "221.33",
                "y": "415.34",
                "label": "Medicine Hat",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "188.03",
                "y": "432",
                "label": "Lethbridge",
                "labelpos": "left"
            }
        ]
    }
}

New JSON format for map marker data.


{
    "map": {
        "animation": "0",
        "showshadow": "0",
        "showmarkerlabels": "1",
        "fillcolor": "F1f1f1",
        "bordercolor": "999999",
        "basefont": "Verdana",
        "basefontsize": "10",
        "markerbordercolor": "000000",
        "markerbgcolor": "FF5904",
        "markerradius": "6",
        "legendposition": "bottom",
        "usehovercolor": "1",
        "showmarkertooltip": "1",
        "showlabels": "0"
    },
    "data": [
        {
            "id": "CA.AB.AC"
        },
        {
            "id": "CA.AB.AN"
        },
        {
            "id": "CA.AB.AS"
        },
        {
            "id": "CA.AB.CA"
        },
        {
            "id": "CA.AB.CR"
        },
        {
            "id": "CA.AB.EA"
        }
    ],
    "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": "ED",
                "x": "158.64",
                "y": "267.42",
                "label": "Edmonton",
                "labelpos": "left"
            },
            {
                "id": "01",
                "x": "108.68",
                "y": "77.38",
                "label": "High Level"
            },
            {
                "id": "02",
                "x": "223.29",
                "y": "138.12",
                "label": "Fort Mc Murray",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "117.5",
                "y": "159.67",
                "label": "Peace River",
                "labelpos": "left"
            },
            {
                "id": "04",
                "x": "56.76",
                "y": "195.91",
                "label": "Grande Prairie",
                "labelpos": "right"
            },
            {
                "id": "05",
                "x": "62.64",
                "y": "283.1",
                "label": "Jasper",
                "labelpos": "right"
            },
            {
                "id": "06",
                "x": "153.74",
                "y": "326.2",
                "label": "Red Deer",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "110.64",
                "y": "368.32",
                "label": "Banff",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "140.03",
                "y": "369.3",
                "label": "Calgary",
                "labelpos": "right"
            },
            {
                "id": "09",
                "x": "221.33",
                "y": "415.34",
                "label": "Medicine Hat",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "188.03",
                "y": "432",
                "label": "Lethbridge",
                "labelpos": "left"
            }
        ],
        "application": [
            {
                "id": "ED",
                "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"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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