NewfoundlandandLabrador

Map Name: NewfoundlandandLabrador

Javascript Alias: maps/newfoundlandandlabrador

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

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

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

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