TrinidadandTobago

Map Name: TrinidadandTobago

Javascript Alias: maps/trinidadandtobago

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": "TT.CA"
        },
        {
            "id": "TT.MA"
        },
        {
            "id": "TT.NA"
        },
        {
            "id": "TT.SA"
        },
        {
            "id": "TT.SD"
        },
        {
            "id": "TT.SG"
        },
        {
            "id": "TT.SP"
        },
        {
            "id": "TT.TO"
        },
        {
            "id": "TT.VI"
        }
    ],
    "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": "194.1",
                "y": "302.3",
                "label": "San Juan",
                "labelpos": "left"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "41.42",
                "y": "527.25",
                "label": "Fullarton"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "118.78",
                "y": "492.64",
                "label": "Point Fortin",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "127.94",
                "y": "534.37",
                "label": "San Francique"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "286.73",
                "y": "530.3",
                "label": "Moruga"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "385.46",
                "y": "506.89",
                "label": "Guayaguayare",
                "labelpos": "bottom"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "397.67",
                "y": "452.94",
                "label": "Piereville",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "335.58",
                "y": "442.76",
                "label": "Rio Claro",
                "labelpos": "right"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "141.17",
                "y": "468.21",
                "label": "Brighton",
                "labelpos": "left"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "208.35",
                "y": "448.87",
                "label": "San Fernando",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "214.46",
                "y": "392.89",
                "label": "Couva",
                "labelpos": "right"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "226.67",
                "y": "348.1",
                "label": "Chaguanas",
                "labelpos": "left"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "139.14",
                "y": "282.96",
                "label": "Chaguaramas",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "219.55",
                "y": "258.53",
                "label": "Maracas"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "266.37",
                "y": "242.25",
                "label": "Blanchisseuse"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "423.12",
                "y": "226.98",
                "label": "Toco"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "287.74",
                "y": "358.28",
                "label": "Talpare",
                "labelpos": "right"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "348.81",
                "y": "338.94",
                "label": "Sangre Grande",
                "labelpos": "right"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "211.4",
                "y": "479.41",
                "label": "Debe",
                "labelpos": "right"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape",
                "x": "241.94",
                "y": "442.76",
                "label": "Princes Town",
                "labelpos": "right"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape",
                "x": "243.98",
                "y": "301.28",
                "label": "Tunapuna",
                "labelpos": "right"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape",
                "x": "288.76",
                "y": "314.51",
                "label": "Arima",
                "labelpos": "right"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape",
                "x": "578.85",
                "y": "23.41",
                "label": "Charlotteville"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape",
                "x": "568.67",
                "y": "54.96",
                "label": "Roxborough"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape",
                "x": "509.64",
                "y": "57",
                "label": "Moriah",
                "labelpos": "left"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape",
                "x": "472.99",
                "y": "96.69",
                "label": "Canaan",
                "labelpos": "bottom"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape",
                "x": "504.55",
                "y": "85.5",
                "label": "Scarborough",
                "labelpos": "right"
            },
            {
                "id": "27",
                "shapeid": "newCustomShape",
                "x": "485.21",
                "y": "72.26",
                "label": "Plymouth",
                "labelpos": "left"
            }
        ]
    }
}

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

{
    "map": {
        "animation": "0",
        "showshadow": "0",
        "showbevel": "0",
        "showlabels": "0",
        "showmarkerlabels": "1",
        "fillcolor": "F1f1f1",
        "bordercolor": "999999",
        "basefont": "Verdana",
        "basefontsize": "10",
        "markerbordercolor": "000000",
        "markerbgcolor": "",
        "markerradius": "",
        "legendposition": "bottom",
        "usehovercolor": "1",
        "showmarkertooltip": "1"
    },
    "data": [
        {
            "id": "TT.CA"
        },
        {
            "id": "TT.MA"
        },
        {
            "id": "TT.NA"
        },
        {
            "id": "TT.SA"
        },
        {
            "id": "TT.SD"
        },
        {
            "id": "TT.SG"
        },
        {
            "id": "TT.SP"
        },
        {
            "id": "TT.TO"
        },
        {
            "id": "TT.VI"
        }
    ],
    "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": "194.1",
                "y": "302.3",
                "label": "San Juan",
                "labelpos": "left"
            },
            {
                "id": "01",
                "x": "41.42",
                "y": "527.25",
                "label": "Fullarton"
            },
            {
                "id": "02",
                "x": "118.78",
                "y": "492.64",
                "label": "Point Fortin",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "127.94",
                "y": "534.37",
                "label": "San Francique"
            },
            {
                "id": "04",
                "x": "286.73",
                "y": "530.3",
                "label": "Moruga"
            },
            {
                "id": "05",
                "x": "385.46",
                "y": "506.89",
                "label": "Guayaguayare",
                "labelpos": "bottom"
            },
            {
                "id": "06",
                "x": "397.67",
                "y": "452.94",
                "label": "Piereville",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "335.58",
                "y": "442.76",
                "label": "Rio Claro",
                "labelpos": "right"
            },
            {
                "id": "08",
                "x": "141.17",
                "y": "468.21",
                "label": "Brighton",
                "labelpos": "left"
            },
            {
                "id": "09",
                "x": "208.35",
                "y": "448.87",
                "label": "San Fernando",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "214.46",
                "y": "392.89",
                "label": "Couva",
                "labelpos": "right"
            },
            {
                "id": "11",
                "x": "226.67",
                "y": "348.1",
                "label": "Chaguanas",
                "labelpos": "left"
            },
            {
                "id": "12",
                "x": "139.14",
                "y": "282.96",
                "label": "Chaguaramas",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "219.55",
                "y": "258.53",
                "label": "Maracas"
            },
            {
                "id": "14",
                "x": "266.37",
                "y": "242.25",
                "label": "Blanchisseuse"
            },
            {
                "id": "15",
                "x": "423.12",
                "y": "226.98",
                "label": "Toco"
            },
            {
                "id": "16",
                "x": "287.74",
                "y": "358.28",
                "label": "Talpare",
                "labelpos": "right"
            },
            {
                "id": "17",
                "x": "348.81",
                "y": "338.94",
                "label": "Sangre Grande",
                "labelpos": "right"
            },
            {
                "id": "18",
                "x": "211.4",
                "y": "479.41",
                "label": "Debe",
                "labelpos": "right"
            },
            {
                "id": "19",
                "x": "241.94",
                "y": "442.76",
                "label": "Princes Town",
                "labelpos": "right"
            },
            {
                "id": "20",
                "x": "243.98",
                "y": "301.28",
                "label": "Tunapuna",
                "labelpos": "right"
            },
            {
                "id": "21",
                "x": "288.76",
                "y": "314.51",
                "label": "Arima",
                "labelpos": "right"
            },
            {
                "id": "22",
                "x": "578.85",
                "y": "23.41",
                "label": "Charlotteville"
            },
            {
                "id": "23",
                "x": "568.67",
                "y": "54.96",
                "label": "Roxborough"
            },
            {
                "id": "24",
                "x": "509.64",
                "y": "57",
                "label": "Moriah",
                "labelpos": "left"
            },
            {
                "id": "25",
                "x": "472.99",
                "y": "96.69",
                "label": "Canaan",
                "labelpos": "bottom"
            },
            {
                "id": "26",
                "x": "504.55",
                "y": "85.5",
                "label": "Scarborough",
                "labelpos": "right"
            },
            {
                "id": "27",
                "x": "485.21",
                "y": "72.26",
                "label": "Plymouth",
                "labelpos": "left"
            }
        ],
        "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": "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": "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"
            }
        ]
    }
}

Old format for marker data in XML, using separate and blocks:

<map animation='0' showShadow='0' showBevel='0' showLabels='0' showMarkerLabels='1' fillColor='F1f1f1' borderColor='999999' baseFont='Verdana' baseFontSize='10' markerBorderColor='000000' markerBgColor='' markerRadius='' legendPosition='bottom' useHoverColor='1' showMarkerToolTip='1'  >
    <data>
        <entity id='TT.CA'  />
        <entity id='TT.MA'  />
        <entity id='TT.NA'  />
        <entity id='TT.SA'  />
        <entity id='TT.SD'  />
        <entity id='TT.SG'  />
        <entity id='TT.SP'  />
        <entity id='TT.TO'  />
        <entity id='TT.VI'  />
    </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='194.1' y='302.3' label='San Juan' labelPos='left'  />
            <marker id='01' x='41.42' y='527.25' label='Fullarton'  />
            <marker id='02' x='118.78' y='492.64' label='Point Fortin' labelPos='left'  />
            <marker id='03' x='127.94' y='534.37' label='San Francique'  />
            <marker id='04' x='286.73' y='530.3' label='Moruga'  />
            <marker id='05' x='385.46' y='506.89' label='Guayaguayare' labelPos='bottom'  />
            <marker id='06' x='397.67' y='452.94' label='Piereville' labelPos='right'  />
            <marker id='07' x='335.58' y='442.76' label='Rio Claro' labelPos='right'  />
            <marker id='08' x='141.17' y='468.21' label='Brighton' labelPos='left'  />
            <marker id='09' x='208.35' y='448.87' label='San Fernando' labelPos='left'  />
            <marker id='10' x='214.46' y='392.89' label='Couva' labelPos='right'  />
            <marker id='11' x='226.67' y='348.1' label='Chaguanas' labelPos='left'  />
            <marker id='12' x='139.14' y='282.96' label='Chaguaramas' labelPos='right'  />
            <marker id='13' x='219.55' y='258.53' label='Maracas'  />
            <marker id='14' x='266.37' y='242.25' label='Blanchisseuse'  />
            <marker id='15' x='423.12' y='226.98' label='Toco'  />
            <marker id='16' x='287.74' y='358.28' label='Talpare' labelPos='right'  />
            <marker id='17' x='348.81' y='338.94' label='Sangre Grande' labelPos='right'  />
            <marker id='18' x='211.4' y='479.41' label='Debe' labelPos='right'  />
            <marker id='19' x='241.94' y='442.76' label='Princes Town' labelPos='right'  />
            <marker id='20' x='243.98' y='301.28' label='Tunapuna' labelPos='right'  />
            <marker id='21' x='288.76' y='314.51' label='Arima' labelPos='right'  />
            <marker id='22' x='578.85' y='23.41' label='Charlotteville'  />
            <marker id='23' x='568.67' y='54.96' label='Roxborough'  />
            <marker id='24' x='509.64' y='57' label='Moriah' labelPos='left'  />
            <marker id='25' x='472.99' y='96.69' label='Canaan' labelPos='bottom'  />
            <marker id='26' x='504.55' y='85.5' label='Scarborough' labelPos='right'  />
            <marker id='27' x='485.21' y='72.26' label='Plymouth' labelPos='left'  />
        </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='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='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'  />
            <marker id='26' shapeId='newCustomShape'  />
            <marker id='27' shapeId='newCustomShape'  />
        </application>
    </markers>
</map>