BritishColumbia

Map Name: BritishColumbia

Javascript Alias: maps/britishcolumbia

New format for marker data in JSON:

{
    "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"
            }
        ]
    }
}

Old format for marker data in JSON, using separate application and definition blocks:

{
    "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 format for marker data in XML, using separate and blocks:

<map> 
    <markers>
        <shapes>
             <shape id='myCustomShape' type='circle' fillColor='FFFFFF,333333' fillPattern='radial' showborder='0' radius='4'/>
              <shape id='newCustomShape' type='circle' fillColor='FFFFFF,000099' fillPattern='radial' showborder='0' radius='3'/>
        </shapes>     
        <definition>
            <marker id='VI' x='301.94' y='508.71' label='Victoria' labelPos='right'  />
            <marker id='01' x='197.7' y='254.35' label='Terrace'  />
            <marker id='02' x='186.23' y='281.46' label='Kitimat' labelPos='right' />
            <marker id='03' x='147.66' y='265.82' label='Prince Rupert'  />
            <marker id='04' x='347.81' y='181.38' label='Fort St. John' labelPos='right' />
            <marker id='05' x='371.79' y='213.7' label='Dawson Creek'  />
            <marker id='06' x='330.09' y='282.5' label='Prince George' labelPos='right' />
            <marker id='07' x='350.94' y='331.49' label='Quesnel' labelPos='left'  />
            <marker id='08' x='342.6' y='360.68' label='Williams Lake' labelPos='right'  />
            <marker id='09' x='385.34' y='428.44' label='Kamloops' labelPos='left' />
            <marker id='10' x='408.27' y='445.12' label='Kelowna' labelPos='left'  />
            <marker id='11' x='417.65' y='431.57' label='Vernon' labelPos='right'  />
            <marker id='12' x='410.36' y='467.01' label='Penticton' labelPos='right'  />
            <marker id='13' x='341.55' y='483.69' label='Abotsford' labelPos='right'  />
            <marker id='14' x='353.02' y='470.14' label='Chilliwack' labelPos='top' />
            <marker id='15' x='320.71' y='479.52' label='Vancouver' labelPos='left' />
            <marker id='16' x='300.9' y='451.38' label='Squarrish' labelPos='left'  />
            <marker id='17' x='284.22' y='441.99' label='Parksville' labelPos='right'  />
            <marker id='18' x='261.29' y='420.1' label='Powell River' labelPos='right'  />
            <marker id='19' x='259.2' y='443.04' label='Campbell River' labelPos='left'  />
            <marker id='21' x='266.5' y='458.67' label='Courtenay' labelPos='left'  />
            <marker id='22' x='275.88' y='485.78' label='Port Alberni' labelPos='left'  />
            <marker id='23' x='299.86' y='484.73' label='Nanaimo' labelPos='top'  />
            <marker id='24' x='307.15' y='501.41' label='Duncan' labelPos='left'  />

        </definition>
        <application>
            <marker id='VI' shapeId='myCustomShape'  />
            <marker id='01' shapeId='newCustomShape'  />
            <marker id='02' shapeId='newCustomShape'  />
            <marker id='03' shapeId='newCustomShape'  />
            <marker id='04' shapeId='newCustomShape'  />
            <marker id='05' shapeId='newCustomShape'  />
            <marker id='06' shapeId='newCustomShape'  />
            <marker id='07' shapeId='newCustomShape'  />
            <marker id='08' shapeId='newCustomShape'  />
            <marker id='09' shapeId='newCustomShape'  />
            <marker id='10' shapeId='newCustomShape'  />
            <marker id='11' shapeId='newCustomShape'  />
            <marker id='12' shapeId='newCustomShape'  />
            <marker id='13' shapeId='newCustomShape'  />
            <marker id='14' shapeId='newCustomShape'  />
            <marker id='15' shapeId='newCustomShape'  />
            <marker id='16' shapeId='newCustomShape'  />
            <marker id='17' shapeId='newCustomShape'  />
            <marker id='18' shapeId='newCustomShape'  />
            <marker id='19' shapeId='newCustomShape'  />
            <marker id='21' shapeId='newCustomShape'  />
            <marker id='22' shapeId='newCustomShape'  />
            <marker id='23' shapeId='newCustomShape'  />
            <marker id='24' shapeId='newCustomShape'  />

        </application>
    </markers>
</map>