Map Name: Bahrain
Javascript Alias: maps/bahrain
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": "MA",
"shapeid": "myCustomShape",
"x": "86.78",
"y": "25.39",
"label": "Manama",
"labelpos": "left"
},
{
"id": "01",
"shapeid": "newCustomShape",
"x": "98.57",
"y": "10.39",
"label": "Al Muharraq",
"labelpos": "left"
},
{
"id": "02",
"shapeid": "newCustomShape",
"x": "99.64",
"y": "35.03",
"label": "Mina Salman",
"labelpos": "bottom"
},
{
"id": "03",
"shapeid": "newCustomShape",
"x": "121.07",
"y": "41.46",
"label": "Sitrah",
"labelpos": "right"
},
{
"id": "04",
"shapeid": "newCustomShape"
},
{
"id": "05",
"shapeid": "newCustomShape",
"x": "68.57",
"y": "32.89",
"label": "Jidd Hafs",
"labelpos": "left"
},
{
"id": "06",
"shapeid": "newCustomShape",
"x": "80.35",
"y": "57.53",
"label": "Madinat Isa",
"labelpos": "left"
},
{
"id": "07",
"shapeid": "newCustomShape",
"x": "76.07",
"y": "83.25",
"label": "Ar Rifa ash Sharqi",
"labelpos": "top"
},
{
"id": "08",
"shapeid": "newCustomShape",
"x": "82.5",
"y": "110.03",
"label": "Awali",
"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": "MA",
"x": "86.78",
"y": "25.39",
"label": "Manama",
"labelpos": "left"
},
{
"id": "01",
"x": "98.57",
"y": "10.39",
"label": "Al Muharraq",
"labelpos": "left"
},
{
"id": "02",
"x": "99.64",
"y": "35.03",
"label": "Mina Salman",
"labelpos": "bottom"
},
{
"id": "03",
"x": "121.07",
"y": "41.46",
"label": "Sitrah",
"labelpos": "right"
},
{
"id": "05",
"x": "68.57",
"y": "32.89",
"label": "Jidd Hafs",
"labelpos": "left"
},
{
"id": "06",
"x": "80.35",
"y": "57.53",
"label": "Madinat Isa",
"labelpos": "left"
},
{
"id": "07",
"x": "76.07",
"y": "83.25",
"label": "Ar Rifa ash Sharqi",
"labelpos": "top"
},
{
"id": "08",
"x": "82.5",
"y": "110.03",
"label": "Awali",
"labelpos": "left"
}
],
"application": [
{
"id": "MA",
"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"
}
]
}
}
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='MA' x='86.78' y='25.39' label='Manama' labelPos='left' />
<marker id='01' x='98.57' y='10.39' label='Al Muharraq' labelPos='left' />
<marker id='02' x='99.64' y='35.03' label='Mina Salman' labelPos='bottom' />
<marker id='03' x='121.07' y='41.46' label='Sitrah' labelPos='right' />
<marker id='05' x='68.57' y='32.89' label='Jidd Hafs' labelPos='left' />
<marker id='06' x='80.35' y='57.53' label='Madinat Isa' labelPos='left' />
<marker id='07' x='76.07' y='83.25' label='Ar Rifa ash Sharqi' labelPos='top' />
<marker id='08' x='82.5' y='110.03' label='Awali' labelPos='left' />
</definition>
<application>
<marker id='MA' 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' />
</application>
</markers>
</map>