Marker data

Map Name: BritishColumbia

JavaScript Alias: maps/britishcolumbia


{
    "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": "VI",
                "shapeid": "myCustomShape",
                "x": "301.94",
                "y": "508.71",
                "label": "Victoria",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "197.7",
                "y": "254.35",
                "label": "Terrace"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "186.23",
                "y": "281.46",
                "label": "Kitimat",
                "labelpos": "right"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "147.66",
                "y": "265.82",
                "label": "Prince Rupert"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "347.81",
                "y": "181.38",
                "label": "Fort St. John",
                "labelpos": "right"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "371.79",
                "y": "213.7",
                "label": "Dawson Creek"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "330.09",
                "y": "282.5",
                "label": "Prince George",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "350.94",
                "y": "331.49",
                "label": "Quesnel",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "342.6",
                "y": "360.68",
                "label": "Williams Lake",
                "labelpos": "right"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "385.34",
                "y": "428.44",
                "label": "Kamloops",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "408.27",
                "y": "445.12",
                "label": "Kelowna",
                "labelpos": "left"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "417.65",
                "y": "431.57",
                "label": "Vernon",
                "labelpos": "right"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "410.36",
                "y": "467.01",
                "label": "Penticton",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "341.55",
                "y": "483.69",
                "label": "Abotsford",
                "labelpos": "right"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "353.02",
                "y": "470.14",
                "label": "Chilliwack",
                "labelpos": "top"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "320.71",
                "y": "479.52",
                "label": "Vancouver",
                "labelpos": "left"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "300.9",
                "y": "451.38",
                "label": "Squarrish",
                "labelpos": "left"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "284.22",
                "y": "441.99",
                "label": "Parksville",
                "labelpos": "right"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "261.29",
                "y": "420.1",
                "label": "Powell River",
                "labelpos": "right"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape",
                "x": "259.2",
                "y": "443.04",
                "label": "Campbell River",
                "labelpos": "left"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape",
                "x": "266.5",
                "y": "458.67",
                "label": "Courtenay",
                "labelpos": "left"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape",
                "x": "275.88",
                "y": "485.78",
                "label": "Port Alberni",
                "labelpos": "left"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape",
                "x": "299.86",
                "y": "484.73",
                "label": "Nanaimo",
                "labelpos": "top"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape",
                "x": "307.15",
                "y": "501.41",
                "label": "Duncan",
                "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": "VI",
                "x": "301.94",
                "y": "508.71",
                "label": "Victoria",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "197.7",
                "y": "254.35",
                "label": "Terrace"
            },
            {
                "id": "02",
                "x": "186.23",
                "y": "281.46",
                "label": "Kitimat",
                "labelpos": "right"
            },
            {
                "id": "03",
                "x": "147.66",
                "y": "265.82",
                "label": "Prince Rupert"
            },
            {
                "id": "04",
                "x": "347.81",
                "y": "181.38",
                "label": "Fort St. John",
                "labelpos": "right"
            },
            {
                "id": "05",
                "x": "371.79",
                "y": "213.7",
                "label": "Dawson Creek"
            },
            {
                "id": "06",
                "x": "330.09",
                "y": "282.5",
                "label": "Prince George",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "350.94",
                "y": "331.49",
                "label": "Quesnel",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "342.6",
                "y": "360.68",
                "label": "Williams Lake",
                "labelpos": "right"
            },
            {
                "id": "09",
                "x": "385.34",
                "y": "428.44",
                "label": "Kamloops",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "408.27",
                "y": "445.12",
                "label": "Kelowna",
                "labelpos": "left"
            },
            {
                "id": "11",
                "x": "417.65",
                "y": "431.57",
                "label": "Vernon",
                "labelpos": "right"
            },
            {
                "id": "12",
                "x": "410.36",
                "y": "467.01",
                "label": "Penticton",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "341.55",
                "y": "483.69",
                "label": "Abotsford",
                "labelpos": "right"
            },
            {
                "id": "14",
                "x": "353.02",
                "y": "470.14",
                "label": "Chilliwack",
                "labelpos": "top"
            },
            {
                "id": "15",
                "x": "320.71",
                "y": "479.52",
                "label": "Vancouver",
                "labelpos": "left"
            },
            {
                "id": "16",
                "x": "300.9",
                "y": "451.38",
                "label": "Squarrish",
                "labelpos": "left"
            },
            {
                "id": "17",
                "x": "284.22",
                "y": "441.99",
                "label": "Parksville",
                "labelpos": "right"
            },
            {
                "id": "18",
                "x": "261.29",
                "y": "420.1",
                "label": "Powell River",
                "labelpos": "right"
            },
            {
                "id": "19",
                "x": "259.2",
                "y": "443.04",
                "label": "Campbell River",
                "labelpos": "left"
            },
            {
                "id": "21",
                "x": "266.5",
                "y": "458.67",
                "label": "Courtenay",
                "labelpos": "left"
            },
            {
                "id": "22",
                "x": "275.88",
                "y": "485.78",
                "label": "Port Alberni",
                "labelpos": "left"
            },
            {
                "id": "23",
                "x": "299.86",
                "y": "484.73",
                "label": "Nanaimo",
                "labelpos": "top"
            },
            {
                "id": "24",
                "x": "307.15",
                "y": "501.41",
                "label": "Duncan",
                "labelpos": "left"
            }
        ],
        "application": [
            {
                "id": "VI",
                "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"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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