Srilanka

Map Name: Srilanka

Javascript Alias: maps/srilanka

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": "LK.AP"
        },
        {
            "id": "LK.AD"
        },
        {
            "id": "LK.BD"
        },
        {
            "id": "LK.BC"
        },
        {
            "id": "LK.CO"
        },
        {
            "id": "LK.GL"
        },
        {
            "id": "LK.GQ"
        },
        {
            "id": "LK.HB"
        },
        {
            "id": "LK.JA"
        },
        {
            "id": "LK.KT"
        },
        {
            "id": "LK.KY"
        },
        {
            "id": "LK.KE"
        },
        {
            "id": "LK.KL"
        },
        {
            "id": "LK.KG"
        },
        {
            "id": "LK.MB"
        },
        {
            "id": "LK.MT"
        },
        {
            "id": "LK.MH"
        },
        {
            "id": "LK.MJ"
        },
        {
            "id": "LK.MP"
        },
        {
            "id": "LK.NW"
        },
        {
            "id": "LK.PR"
        },
        {
            "id": "LK.PX"
        },
        {
            "id": "LK.RN"
        },
        {
            "id": "LK.TC"
        },
        {
            "id": "LK.VA"
        }
    ],
    "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": "CO",
                "shapeid": "myCustomShape",
                "x": "73.22",
                "y": "799.67",
                "label": "Colombo",
                "labelpos": "left"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "76.27",
                "y": "810.86",
                "label": "Mt.Lavinia",
                "labelpos": "left"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "92.54",
                "y": "812.89",
                "label": "Kotte",
                "labelpos": "right"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "81.35",
                "y": "832.22",
                "label": "Moratuwa",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "193.22",
                "y": "842.38",
                "label": "Ratnapura",
                "labelpos": "right"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "168.81",
                "y": "1013.23",
                "label": "Galle",
                "labelpos": "left"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "356.94",
                "y": "993.91",
                "label": "Hambantota",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "371.18",
                "y": "807.81",
                "label": "Badulla"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "543.05",
                "y": "558.66",
                "label": "Batticaloa",
                "labelpos": "left"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "427.11",
                "y": "345.1",
                "label": "Trincomalee",
                "labelpos": "right"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "224.74",
                "y": "426.45",
                "label": "Anuradhapura"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "89.49",
                "y": "249.5",
                "label": "Mannar",
                "labelpos": "right"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "34.57",
                "y": "421.37",
                "label": "Kalpitiya",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "62.03",
                "y": "487.47",
                "label": "Puttalam",
                "labelpos": "right"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "263.38",
                "y": "606.45",
                "label": "Matale",
                "labelpos": "right"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "262.37",
                "y": "661.37",
                "label": "Kandy",
                "labelpos": "right"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "113.89",
                "y": "50.18",
                "label": "Jaffna",
                "labelpos": "right"
            }
        ]
    }
}

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": "FF5904",
        "markerradius": "6",
        "legendposition": "bottom",
        "usehovercolor": "1",
        "showmarkertooltip": "1"
    },
    "data": [
        {
            "id": "LK.AP"
        },
        {
            "id": "LK.AD"
        },
        {
            "id": "LK.BD"
        },
        {
            "id": "LK.BC"
        },
        {
            "id": "LK.CO"
        },
        {
            "id": "LK.GL"
        },
        {
            "id": "LK.GQ"
        },
        {
            "id": "LK.HB"
        },
        {
            "id": "LK.JA"
        },
        {
            "id": "LK.KT"
        },
        {
            "id": "LK.KY"
        },
        {
            "id": "LK.KE"
        },
        {
            "id": "LK.KL"
        },
        {
            "id": "LK.KG"
        },
        {
            "id": "LK.MB"
        },
        {
            "id": "LK.MT"
        },
        {
            "id": "LK.MH"
        },
        {
            "id": "LK.MJ"
        },
        {
            "id": "LK.MP"
        },
        {
            "id": "LK.NW"
        },
        {
            "id": "LK.PR"
        },
        {
            "id": "LK.PX"
        },
        {
            "id": "LK.RN"
        },
        {
            "id": "LK.TC"
        },
        {
            "id": "LK.VA"
        }
    ],
    "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": "CO",
                "x": "73.22",
                "y": "799.67",
                "label": "Colombo",
                "labelpos": "left"
            },
            {
                "id": "01",
                "x": "76.27",
                "y": "810.86",
                "label": "Mt.Lavinia",
                "labelpos": "left"
            },
            {
                "id": "02",
                "x": "92.54",
                "y": "812.89",
                "label": "Kotte",
                "labelpos": "right"
            },
            {
                "id": "03",
                "x": "81.35",
                "y": "832.22",
                "label": "Moratuwa",
                "labelpos": "left"
            },
            {
                "id": "04",
                "x": "193.22",
                "y": "842.38",
                "label": "Ratnapura",
                "labelpos": "right"
            },
            {
                "id": "05",
                "x": "168.81",
                "y": "1013.23",
                "label": "Galle",
                "labelpos": "left"
            },
            {
                "id": "06",
                "x": "356.94",
                "y": "993.91",
                "label": "Hambantota",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "371.18",
                "y": "807.81",
                "label": "Badulla"
            },
            {
                "id": "08",
                "x": "543.05",
                "y": "558.66",
                "label": "Batticaloa",
                "labelpos": "left"
            },
            {
                "id": "09",
                "x": "427.11",
                "y": "345.1",
                "label": "Trincomalee",
                "labelpos": "right"
            },
            {
                "id": "10",
                "x": "224.74",
                "y": "426.45",
                "label": "Anuradhapura"
            },
            {
                "id": "11",
                "x": "89.49",
                "y": "249.5",
                "label": "Mannar",
                "labelpos": "right"
            },
            {
                "id": "12",
                "x": "34.57",
                "y": "421.37",
                "label": "Kalpitiya",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "62.03",
                "y": "487.47",
                "label": "Puttalam",
                "labelpos": "right"
            },
            {
                "id": "14",
                "x": "263.38",
                "y": "606.45",
                "label": "Matale",
                "labelpos": "right"
            },
            {
                "id": "15",
                "x": "262.37",
                "y": "661.37",
                "label": "Kandy",
                "labelpos": "right"
            },
            {
                "id": "16",
                "x": "113.89",
                "y": "50.18",
                "label": "Jaffna",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "CO",
                "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"
            }
        ]
    }
}

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='FF5904' markerRadius='6' legendPosition='bottom' useHoverColor='1' showMarkerToolTip='1'  >
    <data>
        <entity id='LK.AP'  />
        <entity id='LK.AD'  />
        <entity id='LK.BD'  />
        <entity id='LK.BC'  />
        <entity id='LK.CO'  />
        <entity id='LK.GL'  />
        <entity id='LK.GQ'  />
        <entity id='LK.HB'  />
        <entity id='LK.JA'  />
        <entity id='LK.KT'  />
        <entity id='LK.KY'  />
        <entity id='LK.KE'  />
        <entity id='LK.KL'  />
        <entity id='LK.KG'  />
        <entity id='LK.MB'  />
        <entity id='LK.MT'  />
        <entity id='LK.MH'  />
        <entity id='LK.MJ'  />
        <entity id='LK.MP'  />
        <entity id='LK.NW'  />
        <entity id='LK.PR'  />
        <entity id='LK.PX'  />
        <entity id='LK.RN'  />
        <entity id='LK.TC'  />
        <entity id='LK.VA'  />
    </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='CO' x='73.22' y='799.67' label='Colombo' labelPos='left'  />
            <marker id='01' x='76.27' y='810.86' label='Mt.Lavinia' labelPos='left'  />
            <marker id='02' x='92.54' y='812.89' label='Kotte' labelPos='right'  />
            <marker id='03' x='81.35' y='832.22' label='Moratuwa' labelPos='left'  />
            <marker id='04' x='193.22' y='842.38' label='Ratnapura' labelPos='right'  />
            <marker id='05' x='168.81' y='1013.23' label='Galle' labelPos='left'  />
            <marker id='06' x='356.94' y='993.91' label='Hambantota' labelPos='right'  />
            <marker id='07' x='371.18' y='807.81' label='Badulla'  />
            <marker id='08' x='543.05' y='558.66' label='Batticaloa' labelPos='left'  />
            <marker id='09' x='427.11' y='345.1' label='Trincomalee' labelPos='right'  />
            <marker id='10' x='224.74' y='426.45' label='Anuradhapura'  />
            <marker id='11' x='89.49' y='249.5' label='Mannar' labelPos='right'  />
            <marker id='12' x='34.57' y='421.37' label='Kalpitiya' labelPos='right'  />
            <marker id='13' x='62.03' y='487.47' label='Puttalam' labelPos='right'  />
            <marker id='14' x='263.38' y='606.45' label='Matale' labelPos='right'  />
            <marker id='15' x='262.37' y='661.37' label='Kandy' labelPos='right'  />
            <marker id='16' x='113.89' y='50.18' label='Jaffna' labelPos='right'  />
        </definition>
        <application>
            <marker id='CO' 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'  />
        </application>
    </markers>
</map>