Marker data

Map Name: NewfoundlandandLabrador

JavaScript Alias: maps/newfoundlandandlabrador


{
    "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.NF.AV"
        },
        {
            "id": "CA.NF.CE"
        },
        {
            "id": "CA.NF.ES"
        },
        {
            "id": "CA.NF.LA"
        },
        {
            "id": "CA.NF.WS"
        }
    ],
    "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": "SJ",
                "shapeid": "myCustomShape",
                "x": "418",
                "y": "256",
                "label": "St.John"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "405",
                "y": "273",
                "label": "Holyrood",
                "labelpos": "left"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "422",
                "y": "276",
                "label": "Ferryland"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "422",
                "y": "290",
                "label": "Trepassey",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "268",
                "y": "193",
                "label": "Forteau"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "236",
                "y": "133",
                "label": "Cartwright",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "154",
                "y": "168",
                "label": "Happy Valley Goose Bay",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "161",
                "y": "148",
                "label": "NorthWest River",
                "labelpos": "right"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "200",
                "y": "123",
                "label": "Rigolet"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "175",
                "y": "119",
                "label": "Makkovik",
                "labelpos": "left"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "152",
                "y": "129",
                "label": "Postville",
                "labelpos": "left"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "81",
                "y": "62",
                "label": "Hopedale",
                "labelpos": "right"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "65",
                "y": "48",
                "label": "Davis Inlet",
                "labelpos": "right"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "297",
                "y": "205",
                "label": "Roddickton",
                "labelpos": "right"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "296",
                "y": "186",
                "label": "St.Anthony",
                "labelpos": "right"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "284",
                "y": "213",
                "label": "Port au Choix",
                "labelpos": "left"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "313",
                "y": "234",
                "label": "Baie Verte",
                "labelpos": "left"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "343",
                "y": "251",
                "label": "Lewisporte",
                "labelpos": "right"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape",
                "x": "328",
                "y": "258",
                "label": "Bishops Falls",
                "labelpos": "left"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape",
                "x": "371",
                "y": "312",
                "label": "Grand Bank",
                "labelpos": "right"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape",
                "x": "378",
                "y": "297",
                "label": "Burin",
                "labelpos": "left"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape",
                "x": "324",
                "y": "310",
                "label": "Harbour Breton",
                "labelpos": "left"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape",
                "x": "131",
                "y": "192",
                "label": "Churchill Falls",
                "labelpos": "right"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape",
                "x": "47",
                "y": "208",
                "label": "Labrador City",
                "labelpos": "right"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape",
                "x": "58",
                "y": "219",
                "label": "Wabush",
                "labelpos": "bottom"
            }
        ]
    }
}

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.NF.AV"
        },
        {
            "id": "CA.NF.CE"
        },
        {
            "id": "CA.NF.ES"
        },
        {
            "id": "CA.NF.LA"
        },
        {
            "id": "CA.NF.WS"
        }
    ],
    "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": "SJ",
                "x": "418",
                "y": "256",
                "label": "St.John"
            },
            {
                "id": "01",
                "x": "405",
                "y": "273",
                "label": "Holyrood",
                "labelpos": "left"
            },
            {
                "id": "02",
                "x": "422",
                "y": "276",
                "label": "Ferryland"
            },
            {
                "id": "03",
                "x": "422",
                "y": "290",
                "label": "Trepassey",
                "labelpos": "left"
            },
            {
                "id": "04",
                "x": "268",
                "y": "193",
                "label": "Forteau"
            },
            {
                "id": "05",
                "x": "236",
                "y": "133",
                "label": "Cartwright",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "154",
                "y": "168",
                "label": "Happy Valley Goose Bay",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "161",
                "y": "148",
                "label": "NorthWest River",
                "labelpos": "right"
            },
            {
                "id": "09",
                "x": "200",
                "y": "123",
                "label": "Rigolet"
            },
            {
                "id": "10",
                "x": "175",
                "y": "119",
                "label": "Makkovik",
                "labelpos": "left"
            },
            {
                "id": "11",
                "x": "152",
                "y": "129",
                "label": "Postville",
                "labelpos": "left"
            },
            {
                "id": "13",
                "x": "81",
                "y": "62",
                "label": "Hopedale",
                "labelpos": "right"
            },
            {
                "id": "14",
                "x": "65",
                "y": "48",
                "label": "Davis Inlet",
                "labelpos": "right"
            },
            {
                "id": "12",
                "x": "297",
                "y": "205",
                "label": "Roddickton",
                "labelpos": "right"
            },
            {
                "id": "06",
                "x": "296",
                "y": "186",
                "label": "St.Anthony",
                "labelpos": "right"
            },
            {
                "id": "16",
                "x": "284",
                "y": "213",
                "label": "Port au Choix",
                "labelpos": "left"
            },
            {
                "id": "17",
                "x": "313",
                "y": "234",
                "label": "Baie Verte",
                "labelpos": "left"
            },
            {
                "id": "18",
                "x": "343",
                "y": "251",
                "label": "Lewisporte",
                "labelpos": "right"
            },
            {
                "id": "19",
                "x": "328",
                "y": "258",
                "label": "Bishops Falls",
                "labelpos": "left"
            },
            {
                "id": "20",
                "x": "371",
                "y": "312",
                "label": "Grand Bank",
                "labelpos": "right"
            },
            {
                "id": "21",
                "x": "378",
                "y": "297",
                "label": "Burin",
                "labelpos": "left"
            },
            {
                "id": "22",
                "x": "324",
                "y": "310",
                "label": "Harbour Breton",
                "labelpos": "left"
            },
            {
                "id": "23",
                "x": "131",
                "y": "192",
                "label": "Churchill Falls",
                "labelpos": "right"
            },
            {
                "id": "24",
                "x": "47",
                "y": "208",
                "label": "Labrador City",
                "labelpos": "right"
            },
            {
                "id": "25",
                "x": "58",
                "y": "219",
                "label": "Wabush",
                "labelpos": "bottom"
            }
        ],
        "application": [
            {
                "id": "SJ",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "16",
                "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"
            }
        ]
    }
}

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