Marker data

Map Name: PrinceEdwardIsland

JavaScript Alias: maps/princeedwardisland


{
    "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.PE.AL"
        },
        {
            "id": "CA.PE.CS"
        },
        {
            "id": "CA.PE.NC"
        },
        {
            "id": "CA.PE.PC"
        }
    ],
    "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": "CH",
                "shapeid": "myCustomShape",
                "x": "239.4",
                "y": "221.89",
                "label": "Charlottetown"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "249.86",
                "y": "227.12",
                "label": "Stratford",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "218.5",
                "y": "223.98",
                "label": "Cornwall",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "194.45",
                "y": "235.48",
                "label": "Bonshaw",
                "labelpos": "bottom"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "171.45",
                "y": "229.21",
                "label": "Victoria",
                "labelpos": "left"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "168.31",
                "y": "211.44",
                "label": "Crapaud"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "139.04",
                "y": "216.67",
                "label": "Borden",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "132.77",
                "y": "197.85",
                "label": "Central Bedeque",
                "labelpos": "left"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "151.59",
                "y": "183.21",
                "label": "Freetown",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "143.22",
                "y": "162.3",
                "label": "Kensington",
                "labelpos": "left"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "195.5",
                "y": "157.07",
                "label": "Cavendish",
                "labelpos": "right"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "204.9",
                "y": "165.44",
                "label": "North Russo",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "262.4",
                "y": "192.62",
                "label": "Oyster Bed Bridge",
                "labelpos": "left"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "341.86",
                "y": "177.98",
                "label": "Peters Bay"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "287.5",
                "y": "186.35",
                "label": "Mount Stewart",
                "labelpos": "right"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "308.4",
                "y": "174.85",
                "label": "Morell",
                "labelpos": "left"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "421.31",
                "y": "170.67",
                "label": "Elmira",
                "labelpos": "left"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "401.45",
                "y": "177.98",
                "label": "Baltic",
                "labelpos": "right"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape",
                "x": "372.18",
                "y": "209.35",
                "label": "Little Pond",
                "labelpos": "right"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape",
                "x": "332.45",
                "y": "278.35",
                "label": "Murray River"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape",
                "x": "347.09",
                "y": "286.71",
                "label": "Murray Harbour",
                "labelpos": "right"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape",
                "x": "312.59",
                "y": "294.03",
                "label": "Wood Islands",
                "labelpos": "left"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape",
                "x": "289.59",
                "y": "278.35",
                "label": "Belle River",
                "labelpos": "left"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape",
                "x": "284.36",
                "y": "235.48",
                "label": "Vernon Bridge",
                "labelpos": "bottom"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape",
                "x": "309.45",
                "y": "217.71",
                "label": "Vernon River"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape",
                "x": "330.36",
                "y": "225.03",
                "label": "Cardigan",
                "labelpos": "right"
            },
            {
                "id": "27",
                "shapeid": "newCustomShape",
                "x": "136.95",
                "y": "145.57",
                "label": "Malpeque",
                "labelpos": "right"
            },
            {
                "id": "28",
                "shapeid": "newCustomShape",
                "x": "93.04",
                "y": "134.07",
                "label": "Tyne Valley",
                "labelpos": "right"
            },
            {
                "id": "29",
                "shapeid": "newCustomShape",
                "x": "86.77",
                "y": "120.48",
                "label": "Ellerslie",
                "labelpos": "right"
            },
            {
                "id": "30",
                "shapeid": "newCustomShape",
                "x": "64.81",
                "y": "112.12",
                "label": "West Devon",
                "labelpos": "right"
            },
            {
                "id": "31",
                "shapeid": "newCustomShapee",
                "x": "28.22",
                "y": "101.67",
                "label": "Knutsford",
                "labelpos": "right"
            },
            {
                "id": "32",
                "shapeid": "newCustomShape",
                "x": "44.95",
                "y": "87.03",
                "label": "OLeary"
            },
            {
                "id": "33",
                "shapeid": "newCustomShape",
                "x": "71.09",
                "y": "31.62",
                "label": "Nail Pond",
                "labelpos": "left"
            },
            {
                "id": "34",
                "shapeid": "newCustomShape"
            },
            {
                "id": "35",
                "shapeid": "newCustomShape",
                "x": "51.22",
                "y": "41.03",
                "label": "Skinners Pond",
                "labelpos": "right"
            },
            {
                "id": "36",
                "shapeid": "newCustomShape",
                "x": "42.86",
                "y": "56.71",
                "label": "Miminegash",
                "labelpos": "right"
            }
        ]
    }
}

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.PE.AL"
        },
        {
            "id": "CA.PE.CS"
        },
        {
            "id": "CA.PE.NC"
        },
        {
            "id": "CA.PE.PC"
        }
    ],
    "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": "CH",
                "x": "239.4",
                "y": "221.89",
                "label": "Charlottetown"
            },
            {
                "id": "01",
                "x": "249.86",
                "y": "227.12",
                "label": "Stratford",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "218.5",
                "y": "223.98",
                "label": "Cornwall",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "194.45",
                "y": "235.48",
                "label": "Bonshaw",
                "labelpos": "bottom"
            },
            {
                "id": "04",
                "x": "171.45",
                "y": "229.21",
                "label": "Victoria",
                "labelpos": "left"
            },
            {
                "id": "06",
                "x": "168.31",
                "y": "211.44",
                "label": "Crapaud"
            },
            {
                "id": "07",
                "x": "139.04",
                "y": "216.67",
                "label": "Borden",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "132.77",
                "y": "197.85",
                "label": "Central Bedeque",
                "labelpos": "left"
            },
            {
                "id": "09",
                "x": "151.59",
                "y": "183.21",
                "label": "Freetown",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "143.22",
                "y": "162.3",
                "label": "Kensington",
                "labelpos": "left"
            },
            {
                "id": "11",
                "x": "195.5",
                "y": "157.07",
                "label": "Cavendish",
                "labelpos": "right"
            },
            {
                "id": "12",
                "x": "204.9",
                "y": "165.44",
                "label": "North Russo",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "262.4",
                "y": "192.62",
                "label": "Oyster Bed Bridge",
                "labelpos": "left"
            },
            {
                "id": "14",
                "x": "341.86",
                "y": "177.98",
                "label": "Peters Bay"
            },
            {
                "id": "16",
                "x": "287.5",
                "y": "186.35",
                "label": "Mount Stewart",
                "labelpos": "right"
            },
            {
                "id": "15",
                "x": "308.4",
                "y": "174.85",
                "label": "Morell",
                "labelpos": "left"
            },
            {
                "id": "17",
                "x": "421.31",
                "y": "170.67",
                "label": "Elmira",
                "labelpos": "left"
            },
            {
                "id": "18",
                "x": "401.45",
                "y": "177.98",
                "label": "Baltic",
                "labelpos": "right"
            },
            {
                "id": "19",
                "x": "372.18",
                "y": "209.35",
                "label": "Little Pond",
                "labelpos": "right"
            },
            {
                "id": "20",
                "x": "332.45",
                "y": "278.35",
                "label": "Murray River"
            },
            {
                "id": "21",
                "x": "347.09",
                "y": "286.71",
                "label": "Murray Harbour",
                "labelpos": "right"
            },
            {
                "id": "22",
                "x": "312.59",
                "y": "294.03",
                "label": "Wood Islands",
                "labelpos": "left"
            },
            {
                "id": "23",
                "x": "289.59",
                "y": "278.35",
                "label": "Belle River",
                "labelpos": "left"
            },
            {
                "id": "24",
                "x": "284.36",
                "y": "235.48",
                "label": "Vernon Bridge",
                "labelpos": "bottom"
            },
            {
                "id": "25",
                "x": "309.45",
                "y": "217.71",
                "label": "Vernon River"
            },
            {
                "id": "26",
                "x": "330.36",
                "y": "225.03",
                "label": "Cardigan",
                "labelpos": "right"
            },
            {
                "id": "27",
                "x": "136.95",
                "y": "145.57",
                "label": "Malpeque",
                "labelpos": "right"
            },
            {
                "id": "28",
                "x": "93.04",
                "y": "134.07",
                "label": "Tyne Valley",
                "labelpos": "right"
            },
            {
                "id": "29",
                "x": "86.77",
                "y": "120.48",
                "label": "Ellerslie",
                "labelpos": "right"
            },
            {
                "id": "30",
                "x": "64.81",
                "y": "112.12",
                "label": "West Devon",
                "labelpos": "right"
            },
            {
                "id": "31",
                "x": "28.22",
                "y": "101.67",
                "label": "Knutsford",
                "labelpos": "right"
            },
            {
                "id": "32",
                "x": "44.95",
                "y": "87.03",
                "label": "OLeary"
            },
            {
                "id": "33",
                "x": "71.09",
                "y": "31.62",
                "label": "Nail Pond",
                "labelpos": "left"
            },
            {
                "id": "35",
                "x": "51.22",
                "y": "41.03",
                "label": "Skinners Pond",
                "labelpos": "right"
            },
            {
                "id": "36",
                "x": "42.86",
                "y": "56.71",
                "label": "Miminegash",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "CH",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape"
            },
            {
                "id": "27",
                "shapeid": "newCustomShape"
            },
            {
                "id": "28",
                "shapeid": "newCustomShape"
            },
            {
                "id": "29",
                "shapeid": "newCustomShape"
            },
            {
                "id": "30",
                "shapeid": "newCustomShape"
            },
            {
                "id": "31",
                "shapeid": "newCustomShapee"
            },
            {
                "id": "32",
                "shapeid": "newCustomShape"
            },
            {
                "id": "33",
                "shapeid": "newCustomShape"
            },
            {
                "id": "34",
                "shapeid": "newCustomShape"
            },
            {
                "id": "35",
                "shapeid": "newCustomShape"
            },
            {
                "id": "36",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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