Map Name: Nigeria
Javascript Alias: maps/nigeria
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": "NG.AB"
},
{
"id": "NG.FC"
},
{
"id": "NG.AD"
},
{
"id": "NG.AK"
},
{
"id": "NG.AN"
},
{
"id": "NG.BA"
},
{
"id": "NG.BY"
},
{
"id": "NG.BE"
},
{
"id": "NG.BO"
},
{
"id": "NG.CR"
},
{
"id": "NG.DE"
},
{
"id": "NG.EB"
},
{
"id": "NG.ED"
},
{
"id": "NG.EK"
},
{
"id": "NG.EN"
},
{
"id": "NG.GO"
},
{
"id": "NG.IM"
},
{
"id": "NG.JI"
},
{
"id": "NG.KD"
},
{
"id": "NG.KN"
},
{
"id": "NG.KT"
},
{
"id": "NG.KE"
},
{
"id": "NG.KO"
},
{
"id": "NG.KW"
},
{
"id": "NG.LA"
},
{
"id": "NG.NA"
},
{
"id": "NG.NI"
},
{
"id": "NG.OG"
},
{
"id": "NG.ON"
},
{
"id": "NG.OS"
},
{
"id": "NG.OY"
},
{
"id": "NG.PL"
},
{
"id": "NG.RI"
},
{
"id": "NG.SO"
},
{
"id": "NG.TA"
},
{
"id": "NG.YO"
},
{
"id": "NG.ZA"
}
],
"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": "AB",
"shapeid": "myCustomShape",
"x": "152.51",
"y": "188.97",
"label": "Abuja",
"labelpos": "left"
},
{
"id": "01",
"shapeid": "newCustomShape",
"x": "77.54",
"y": "30.81",
"label": "Sokoto",
"labelpos": "right"
},
{
"id": "02",
"shapeid": "newCustomShape",
"x": "162.78",
"y": "53.4",
"label": "Katsina",
"labelpos": "right"
},
{
"id": "03",
"shapeid": "newCustomShape",
"x": "195.64",
"y": "100.64",
"label": "Kano",
"labelpos": "right"
},
{
"id": "04",
"shapeid": "newCustomShape",
"x": "391.81",
"y": "74.97",
"label": "Maiduguri",
"labelpos": "left"
},
{
"id": "05",
"shapeid": "newCustomShape",
"x": "351.75",
"y": "184.86",
"label": "Yola",
"labelpos": "left"
},
{
"id": "06",
"shapeid": "newCustomShape",
"x": "168.94",
"y": "162.27",
"label": "Jos",
"labelpos": "right"
},
{
"id": "07",
"shapeid": "newCustomShape",
"x": "147.37",
"y": "102.7",
"label": "Zaria",
"labelpos": "left"
},
{
"id": "08",
"shapeid": "newCustomShape",
"x": "134.02",
"y": "120.16",
"label": "Kaduna",
"labelpos": "left"
},
{
"id": "09",
"shapeid": "newCustomShape",
"x": "43.64",
"y": "215.67",
"label": "Ogbomoso",
"labelpos": "right"
},
{
"id": "10",
"shapeid": "newCustomShape",
"x": "44.67",
"y": "235.18",
"label": "Oshogbo",
"labelpos": "right"
},
{
"id": "11",
"shapeid": "newCustomShape",
"x": "167.91",
"y": "273.18",
"label": "Enugu",
"labelpos": "right"
},
{
"id": "12",
"shapeid": "newCustomShape",
"x": "91.91",
"y": "311.18",
"label": "Warri",
"labelpos": "left"
},
{
"id": "13",
"shapeid": "newCustomShape",
"x": "26.18",
"y": "289.62",
"label": "Lagos",
"labelpos": "bottom"
},
{
"id": "14",
"shapeid": "newCustomShape",
"x": "156.62",
"y": "358.43",
"label": "Port Harcourt",
"labelpos": "right"
},
{
"id": "15",
"shapeid": "newCustomShape",
"x": "207.97",
"y": "238.27",
"label": "Makurdi",
"labelpos": "right"
},
{
"id": "16",
"shapeid": "newCustomShape",
"x": "55.97",
"y": "191.02",
"label": "Ilorin"
},
{
"id": "17",
"shapeid": "newCustomShape",
"x": "26.18",
"y": "249.56",
"label": "Ibadan",
"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": "",
"markerradius": "",
"legendposition": "bottom",
"usehovercolor": "1",
"showmarkertooltip": "1"
},
"data": [
{
"id": "NG.AB"
},
{
"id": "NG.FC"
},
{
"id": "NG.AD"
},
{
"id": "NG.AK"
},
{
"id": "NG.AN"
},
{
"id": "NG.BA"
},
{
"id": "NG.BY"
},
{
"id": "NG.BE"
},
{
"id": "NG.BO"
},
{
"id": "NG.CR"
},
{
"id": "NG.DE"
},
{
"id": "NG.EB"
},
{
"id": "NG.ED"
},
{
"id": "NG.EK"
},
{
"id": "NG.EN"
},
{
"id": "NG.GO"
},
{
"id": "NG.IM"
},
{
"id": "NG.JI"
},
{
"id": "NG.KD"
},
{
"id": "NG.KN"
},
{
"id": "NG.KT"
},
{
"id": "NG.KE"
},
{
"id": "NG.KO"
},
{
"id": "NG.KW"
},
{
"id": "NG.LA"
},
{
"id": "NG.NA"
},
{
"id": "NG.NI"
},
{
"id": "NG.OG"
},
{
"id": "NG.ON"
},
{
"id": "NG.OS"
},
{
"id": "NG.OY"
},
{
"id": "NG.PL"
},
{
"id": "NG.RI"
},
{
"id": "NG.SO"
},
{
"id": "NG.TA"
},
{
"id": "NG.YO"
},
{
"id": "NG.ZA"
}
],
"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": "AB",
"x": "152.51",
"y": "188.97",
"label": "Abuja",
"labelpos": "left"
},
{
"id": "01",
"x": "77.54",
"y": "30.81",
"label": "Sokoto",
"labelpos": "right"
},
{
"id": "02",
"x": "162.78",
"y": "53.4",
"label": "Katsina",
"labelpos": "right"
},
{
"id": "03",
"x": "195.64",
"y": "100.64",
"label": "Kano",
"labelpos": "right"
},
{
"id": "04",
"x": "391.81",
"y": "74.97",
"label": "Maiduguri",
"labelpos": "left"
},
{
"id": "05",
"x": "351.75",
"y": "184.86",
"label": "Yola",
"labelpos": "left"
},
{
"id": "06",
"x": "168.94",
"y": "162.27",
"label": "Jos",
"labelpos": "right"
},
{
"id": "07",
"x": "147.37",
"y": "102.7",
"label": "Zaria",
"labelpos": "left"
},
{
"id": "08",
"x": "134.02",
"y": "120.16",
"label": "Kaduna",
"labelpos": "left"
},
{
"id": "09",
"x": "43.64",
"y": "215.67",
"label": "Ogbomoso",
"labelpos": "right"
},
{
"id": "10",
"x": "44.67",
"y": "235.18",
"label": "Oshogbo",
"labelpos": "right"
},
{
"id": "11",
"x": "167.91",
"y": "273.18",
"label": "Enugu",
"labelpos": "right"
},
{
"id": "12",
"x": "91.91",
"y": "311.18",
"label": "Warri",
"labelpos": "left"
},
{
"id": "13",
"x": "26.18",
"y": "289.62",
"label": "Lagos",
"labelpos": "bottom"
},
{
"id": "14",
"x": "156.62",
"y": "358.43",
"label": "Port Harcourt",
"labelpos": "right"
},
{
"id": "15",
"x": "207.97",
"y": "238.27",
"label": "Makurdi",
"labelpos": "right"
},
{
"id": "16",
"x": "55.97",
"y": "191.02",
"label": "Ilorin"
},
{
"id": "17",
"x": "26.18",
"y": "249.56",
"label": "Ibadan",
"labelpos": "right"
}
],
"application": [
{
"id": "AB",
"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"
}
]
}
}
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='NG.AB' />
<entity id='NG.FC' />
<entity id='NG.AD' />
<entity id='NG.AK' />
<entity id='NG.AN' />
<entity id='NG.BA' />
<entity id='NG.BY' />
<entity id='NG.BE' />
<entity id='NG.BO' />
<entity id='NG.CR' />
<entity id='NG.DE' />
<entity id='NG.EB' />
<entity id='NG.ED' />
<entity id='NG.EK' />
<entity id='NG.EN' />
<entity id='NG.GO' />
<entity id='NG.IM' />
<entity id='NG.JI' />
<entity id='NG.KD' />
<entity id='NG.KN' />
<entity id='NG.KT' />
<entity id='NG.KE' />
<entity id='NG.KO' />
<entity id='NG.KW' />
<entity id='NG.LA' />
<entity id='NG.NA' />
<entity id='NG.NI' />
<entity id='NG.OG' />
<entity id='NG.ON' />
<entity id='NG.OS' />
<entity id='NG.OY' />
<entity id='NG.PL' />
<entity id='NG.RI' />
<entity id='NG.SO' />
<entity id='NG.TA' />
<entity id='NG.YO' />
<entity id='NG.ZA' />
</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='AB' x='152.51' y='188.97' label='Abuja' labelPos='left' />
<marker id='01' x='77.54' y='30.81' label='Sokoto' labelPos='right' />
<marker id='02' x='162.78' y='53.4' label='Katsina' labelPos='right' />
<marker id='03' x='195.64' y='100.64' label='Kano' labelPos='right' />
<marker id='04' x='391.81' y='74.97' label='Maiduguri' labelPos='left' />
<marker id='05' x='351.75' y='184.86' label='Yola' labelPos='left' />
<marker id='06' x='168.94' y='162.27' label='Jos' labelPos='right' />
<marker id='07' x='147.37' y='102.7' label='Zaria' labelPos='left' />
<marker id='08' x='134.02' y='120.16' label='Kaduna' labelPos='left' />
<marker id='09' x='43.64' y='215.67' label='Ogbomoso' labelPos='right' />
<marker id='10' x='44.67' y='235.18' label='Oshogbo' labelPos='right' />
<marker id='11' x='167.91' y='273.18' label='Enugu' labelPos='right' />
<marker id='12' x='91.91' y='311.18' label='Warri' labelPos='left' />
<marker id='13' x='26.18' y='289.62' label='Lagos' labelPos='bottom' />
<marker id='14' x='156.62' y='358.43' label='Port Harcourt' labelPos='right' />
<marker id='15' x='207.97' y='238.27' label='Makurdi' labelPos='right' />
<marker id='16' x='55.97' y='191.02' label='Ilorin' />
<marker id='17' x='26.18' y='249.56' label='Ibadan' labelPos='right' />
</definition>
<application>
<marker id='AB' 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' />
</application>
</markers>
</map>