Map Name: Peru
Javascript Alias: maps/peru
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": "LM",
"shapeid": "myCustomShape",
"x": "128.97",
"y": "331.94",
"label": "Lima",
"labelpos": "left"
},
{
"id": "01",
"shapeid": "newCustomShape",
"x": "223.05",
"y": "106.77",
"label": "Iquitos"
},
{
"id": "02",
"shapeid": "newCustomShape",
"x": "155.4",
"y": "159.62",
"label": "Yurimaguas"
},
{
"id": "03",
"shapeid": "newCustomShape",
"x": "214.6",
"y": "230.45",
"label": "Pucallpa",
"labelpos": "right"
},
{
"id": "04",
"shapeid": "newCustomShape",
"x": "10.57",
"y": "122.62",
"label": "Talara"
},
{
"id": "05",
"shapeid": "newCustomShape",
"x": "15.85",
"y": "145.88",
"label": "Paita",
"labelpos": "bottom"
},
{
"id": "06",
"shapeid": "newCustomShape",
"x": "32.77",
"y": "148",
"label": "Piura"
},
{
"id": "07",
"shapeid": "newCustomShape",
"x": "52.85",
"y": "195.57",
"label": "Chiclayo",
"labelpos": "right"
},
{
"id": "08",
"shapeid": "newCustomShape",
"x": "80.34",
"y": "235.74",
"label": "Trujillo"
},
{
"id": "10",
"shapeid": "newCustomShape",
"x": "83.51",
"y": "241.02",
"label": "Salavery",
"labelpos": "right"
},
{
"id": "09",
"shapeid": "newCustomShape",
"x": "91.97",
"y": "267.45",
"label": "Chimbote",
"labelpos": "left"
},
{
"id": "11",
"shapeid": "newCustomShape",
"x": "126.85",
"y": "328.77",
"label": "Callao"
},
{
"id": "12",
"shapeid": "newCustomShape",
"x": "167.02",
"y": "402.77",
"label": "Ica"
},
{
"id": "13",
"shapeid": "newCustomShape",
"x": "270.62",
"y": "459.85",
"label": "Arequipa"
},
{
"id": "14",
"shapeid": "newCustomShape",
"x": "263.22",
"y": "474.65",
"label": "Matarani",
"labelpos": "left"
},
{
"id": "15",
"shapeid": "newCustomShape",
"x": "283.31",
"y": "489.45",
"label": "Ilo"
},
{
"id": "16",
"shapeid": "newCustomShape",
"x": "310.8",
"y": "506.37",
"label": "Tacna"
},
{
"id": "17",
"shapeid": "newCustomShape",
"x": "270.62",
"y": "390.08",
"label": "Cusco"
},
{
"id": "18",
"shapeid": "newCustomShape",
"x": "350.97",
"y": "352.02",
"label": "Puerto Maldonado",
"labelpos": "left"
},
{
"id": "19",
"shapeid": "newCustomShape",
"x": "152.22",
"y": "267.45",
"label": "Huanuco",
"labelpos": "bottom"
},
{
"id": "20",
"shapeid": "newCustomShape",
"x": "204.02",
"y": "347.8",
"label": "Huancayo",
"labelpos": "top"
},
{
"id": "21",
"shapeid": "newCustomShape",
"x": "256.32",
"y": "166.26",
"label": "Warsaw",
"labelpos": "right"
},
{
"id": "22",
"shapeid": "newCustomShape",
"x": "224.5",
"y": "196.02",
"label": "Lodz",
"labelpos": "right"
},
{
"id": "23",
"shapeid": "newCustomShape",
"x": "113.66",
"y": "255.55",
"label": "Wroctaw",
"labelpos": "right"
},
{
"id": "24",
"shapeid": "newCustomShape",
"x": "184.48",
"y": "267.86",
"label": "Czestochowa",
"labelpos": "right"
}
]
}
}
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": "LM",
"x": "128.97",
"y": "331.94",
"label": "Lima",
"labelpos": "left"
},
{
"id": "01",
"x": "223.05",
"y": "106.77",
"label": "Iquitos"
},
{
"id": "02",
"x": "155.4",
"y": "159.62",
"label": "Yurimaguas"
},
{
"id": "03",
"x": "214.6",
"y": "230.45",
"label": "Pucallpa",
"labelpos": "right"
},
{
"id": "04",
"x": "10.57",
"y": "122.62",
"label": "Talara"
},
{
"id": "05",
"x": "15.85",
"y": "145.88",
"label": "Paita",
"labelpos": "bottom"
},
{
"id": "06",
"x": "32.77",
"y": "148",
"label": "Piura"
},
{
"id": "07",
"x": "52.85",
"y": "195.57",
"label": "Chiclayo",
"labelpos": "right"
},
{
"id": "08",
"x": "80.34",
"y": "235.74",
"label": "Trujillo"
},
{
"id": "10",
"x": "83.51",
"y": "241.02",
"label": "Salavery",
"labelpos": "right"
},
{
"id": "09",
"x": "91.97",
"y": "267.45",
"label": "Chimbote",
"labelpos": "left"
},
{
"id": "11",
"x": "126.85",
"y": "328.77",
"label": "Callao"
},
{
"id": "12",
"x": "167.02",
"y": "402.77",
"label": "Ica"
},
{
"id": "13",
"x": "270.62",
"y": "459.85",
"label": "Arequipa"
},
{
"id": "14",
"x": "263.22",
"y": "474.65",
"label": "Matarani",
"labelpos": "left"
},
{
"id": "15",
"x": "283.31",
"y": "489.45",
"label": "Ilo"
},
{
"id": "16",
"x": "310.8",
"y": "506.37",
"label": "Tacna"
},
{
"id": "17",
"x": "270.62",
"y": "390.08",
"label": "Cusco"
},
{
"id": "18",
"x": "350.97",
"y": "352.02",
"label": "Puerto Maldonado",
"labelpos": "left"
},
{
"id": "19",
"x": "152.22",
"y": "267.45",
"label": "Huanuco",
"labelpos": "bottom"
},
{
"id": "20",
"x": "204.02",
"y": "347.8",
"label": "Huancayo",
"labelpos": "top"
},
{
"id": "21",
"x": "256.32",
"y": "166.26",
"label": "Warsaw",
"labelpos": "right"
},
{
"id": "22",
"x": "224.5",
"y": "196.02",
"label": "Lodz",
"labelpos": "right"
},
{
"id": "23",
"x": "113.66",
"y": "255.55",
"label": "Wroctaw",
"labelpos": "right"
},
{
"id": "24",
"x": "184.48",
"y": "267.86",
"label": "Czestochowa",
"labelpos": "right"
}
],
"application": [
{
"id": "LM",
"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": "10",
"shapeid": "newCustomShape"
},
{
"id": "09",
"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"
}
]
}
}
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='LM' x='128.97' y='331.94' label='Lima' labelPos='left' />
<marker id='01' x='223.05' y='106.77' label='Iquitos' />
<marker id='02' x='155.4' y='159.62' label='Yurimaguas' />
<marker id='03' x='214.6' y='230.45' label='Pucallpa' labelPos='right' />
<marker id='04' x='10.57' y='122.62' label='Talara' />
<marker id='05' x='15.85' y='145.88' label='Paita' labelPos='bottom' />
<marker id='06' x='32.77' y='148' label='Piura' />
<marker id='07' x='52.85' y='195.57' label='Chiclayo' labelPos='right' />
<marker id='08' x='80.34' y='235.74' label='Trujillo' />
<marker id='10' x='83.51' y='241.02' label='Salavery' labelPos='right' />
<marker id='09' x='91.97' y='267.45' label='Chimbote' labelPos='left' />
<marker id='11' x='126.85' y='328.77' label='Callao' />
<marker id='12' x='167.02' y='402.77' label='Ica' />
<marker id='13' x='270.62' y='459.85' label='Arequipa' />
<marker id='14' x='263.22' y='474.65' label='Matarani' labelPos='left' />
<marker id='15' x='283.31' y='489.45' label='Ilo' />
<marker id='16' x='310.8' y='506.37' label='Tacna' />
<marker id='17' x='270.62' y='390.08' label='Cusco' />
<marker id='18' x='350.97' y='352.02' label='Puerto Maldonado' labelPos='left' />
<marker id='19' x='152.22' y='267.45' label='Huanuco' labelPos='bottom' />
<marker id='20' x='204.02' y='347.8' label='Huancayo' labelPos='top' />
<marker id='21' x='256.32' y='166.26' label='Warsaw' labelPos='right' />
<marker id='22' x='224.5' y='196.02' label='Lodz' labelPos='right' />
<marker id='23' x='113.66' y='255.55' label='Wroctaw' labelPos='right' />
<marker id='24' x='184.48' y='267.86' label='Czestochowa' labelPos='right' />
</definition>
<application>
<marker id='LM' 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='10' shapeId='newCustomShape' />
<marker id='09' 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' />
</application>
</markers>
</map>