Map Name: Cambodia
Javascript Alias: maps/cambodia
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": "KH.OM"
},
{
"id": "KH.BA"
},
{
"id": "KH.KM"
},
{
"id": "KH.KG"
},
{
"id": "KH.KS"
},
{
"id": "KH.KT"
},
{
"id": "KH.KP"
},
{
"id": "KH.KN"
},
{
"id": "KH.KK"
},
{
"id": "KH.KH"
},
{
"id": "KH.KB"
},
{
"id": "KH.MK"
},
{
"id": "KH.OC"
},
{
"id": "KH.PL"
},
{
"id": "KH.PP"
},
{
"id": "KH.PO"
},
{
"id": "KH.PH"
},
{
"id": "KH.PY"
},
{
"id": "KH.RO"
},
{
"id": "KH.SI"
},
{
"id": "KH.KA"
},
{
"id": "KH.ST"
},
{
"id": "KH.SR"
},
{
"id": "KH.TA"
}
],
"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": "PP",
"shapeid": "myCustomShape",
"x": "202.79",
"y": "237.79",
"label": "Phnom Penh",
"labelpos": "right"
},
{
"id": "01",
"shapeid": "newCustomShape",
"x": "107.05",
"y": "131.76",
"label": "Batdambang"
},
{
"id": "02",
"shapeid": "newCustomShape",
"x": "157.5",
"y": "103.97",
"label": "Siemreab"
},
{
"id": "03",
"shapeid": "newCustomShape",
"x": "71.02",
"y": "236.76",
"label": "Krong Kaoh Kong"
},
{
"id": "04",
"shapeid": "newCustomShape",
"x": "107.05",
"y": "307.79",
"label": "Kampong Cham"
},
{
"id": "05",
"shapeid": "newCustomShape",
"x": "163.67",
"y": "316.02",
"label": "Kampot",
"labelpos": "right"
},
{
"id": "06",
"shapeid": "newCustomShape",
"x": "278.97",
"y": "88.52",
"label": "Stoeng Treng"
},
{
"id": "08",
"shapeid": "newCustomShape",
"x": "276.91",
"y": "157.5",
"label": "Kracheh",
"labelpos": "left"
},
{
"id": "07",
"shapeid": "newCustomShape",
"x": "231.61",
"y": "187.35",
"label": "Kampong Cham",
"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",
"legendposition": "bottom",
"usehovercolor": "1",
"showmarkertooltip": "1"
},
"data": [
{
"id": "KH.OM"
},
{
"id": "KH.BA"
},
{
"id": "KH.KM"
},
{
"id": "KH.KG"
},
{
"id": "KH.KS"
},
{
"id": "KH.KT"
},
{
"id": "KH.KP"
},
{
"id": "KH.KN"
},
{
"id": "KH.KK"
},
{
"id": "KH.KH"
},
{
"id": "KH.KB"
},
{
"id": "KH.MK"
},
{
"id": "KH.OC"
},
{
"id": "KH.PL"
},
{
"id": "KH.PP"
},
{
"id": "KH.PO"
},
{
"id": "KH.PH"
},
{
"id": "KH.PY"
},
{
"id": "KH.RO"
},
{
"id": "KH.SI"
},
{
"id": "KH.KA"
},
{
"id": "KH.ST"
},
{
"id": "KH.SR"
},
{
"id": "KH.TA"
}
],
"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": "PP",
"x": "202.79",
"y": "237.79",
"label": "Phnom Penh",
"labelpos": "right"
},
{
"id": "01",
"x": "107.05",
"y": "131.76",
"label": "Batdambang"
},
{
"id": "02",
"x": "157.5",
"y": "103.97",
"label": "Siemreab"
},
{
"id": "03",
"x": "71.02",
"y": "236.76",
"label": "Krong Kaoh Kong"
},
{
"id": "04",
"x": "107.05",
"y": "307.79",
"label": "Kampong Cham"
},
{
"id": "05",
"x": "163.67",
"y": "316.02",
"label": "Kampot",
"labelpos": "right"
},
{
"id": "06",
"x": "278.97",
"y": "88.52",
"label": "Stoeng Treng"
},
{
"id": "08",
"x": "276.91",
"y": "157.5",
"label": "Kracheh",
"labelpos": "left"
},
{
"id": "07",
"x": "231.61",
"y": "187.35",
"label": "Kampong Cham",
"labelpos": "left"
}
],
"application": [
{
"id": "PP",
"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": "08",
"shapeid": "newCustomShape"
},
{
"id": "07",
"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' legendPosition='bottom' useHoverColor='1' showMarkerToolTip='1' >
<data>
<entity id='KH.OM' />
<entity id='KH.BA' />
<entity id='KH.KM' />
<entity id='KH.KG' />
<entity id='KH.KS' />
<entity id='KH.KT' />
<entity id='KH.KP' />
<entity id='KH.KN' />
<entity id='KH.KK' />
<entity id='KH.KH' />
<entity id='KH.KB' />
<entity id='KH.MK' />
<entity id='KH.OC' />
<entity id='KH.PL' />
<entity id='KH.PP' />
<entity id='KH.PO' />
<entity id='KH.PH' />
<entity id='KH.PY' />
<entity id='KH.RO' />
<entity id='KH.SI' />
<entity id='KH.KA' />
<entity id='KH.ST' />
<entity id='KH.SR' />
<entity id='KH.TA' />
</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='PP' x='202.79' y='237.79' label='Phnom Penh' labelPos='right' />
<marker id='01' x='107.05' y='131.76' label='Batdambang' />
<marker id='02' x='157.5' y='103.97' label='Siemreab' />
<marker id='03' x='71.02' y='236.76' label='Krong Kaoh Kong' />
<marker id='04' x='107.05' y='307.79' label='Kampong Cham' />
<marker id='05' x='163.67' y='316.02' label='Kampot' labelPos='right' />
<marker id='06' x='278.97' y='88.52' label='Stoeng Treng' />
<marker id='08' x='276.91' y='157.5' label='Kracheh' labelPos='left' />
<marker id='07' x='231.61' y='187.35' label='Kampong Cham' labelPos='left' />
</definition>
<application>
<marker id='PP' 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='08' shapeId='newCustomShape' />
<marker id='07' shapeId='newCustomShape' />
</application>
</markers>
</map>