Spain

Map Name: Spain

Javascript Alias: maps/spain

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": "274.02",
                "y": "132.66",
                "label": "Madrid",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "220.54",
                "y": "12.34",
                "label": "Gijon",
                "labelpos": "left"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "122.84",
                "y": "16.45",
                "label": "A Coruna",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "106.39",
                "y": "65.81",
                "label": "Vigo",
                "labelpos": "left"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "207.17",
                "y": "48.33",
                "label": "Leon"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "271.96",
                "y": "14.39",
                "label": "Santander",
                "labelpos": "right"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "298.7",
                "y": "21.59",
                "label": "Bilbao",
                "labelpos": "bottom"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "464.28",
                "y": "95.64",
                "label": "Barcelona",
                "labelpos": "left"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "434.45",
                "y": "109.01",
                "label": "Tarragona",
                "labelpos": "left"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "371.72",
                "y": "86.38",
                "label": "Zaragoza",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "269.9",
                "y": "98.72",
                "label": "Valladolid",
                "labelpos": "right"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "151.64",
                "y": "216.99",
                "label": "Olivenza",
                "labelpos": "left"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "159.86",
                "y": "274.58",
                "label": "Huelva",
                "labelpos": "left"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "232.88",
                "y": "241.67",
                "label": "Cordoba"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "190.72",
                "y": "261.21",
                "label": "Sevilla",
                "labelpos": "left"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "180.43",
                "y": "304.41",
                "label": "Cadiz",
                "labelpos": "right"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "207.17",
                "y": "326",
                "label": "Algeciras",
                "labelpos": "left"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "246.25",
                "y": "299.27",
                "label": "Malaga"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape",
                "x": "363.49",
                "y": "262.24",
                "label": "Cartagena",
                "labelpos": "left"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape",
                "x": "352.18",
                "y": "243.73",
                "label": "Murcia",
                "labelpos": "left"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape",
                "x": "385.09",
                "y": "225.22",
                "label": "Alicante",
                "labelpos": "left"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape",
                "x": "385.09",
                "y": "175.86",
                "label": "Valencia",
                "labelpos": "left"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape",
                "x": "488.96",
                "y": "169.68",
                "label": "Palma de Mallorca",
                "labelpos": "bottom"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape",
                "x": "397.43",
                "y": "156.32",
                "label": "Castellon de la Plana",
                "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": "274.02",
                "y": "132.66",
                "label": "Madrid",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "220.54",
                "y": "12.34",
                "label": "Gijon",
                "labelpos": "left"
            },
            {
                "id": "02",
                "x": "122.84",
                "y": "16.45",
                "label": "A Coruna",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "106.39",
                "y": "65.81",
                "label": "Vigo",
                "labelpos": "left"
            },
            {
                "id": "05",
                "x": "207.17",
                "y": "48.33",
                "label": "Leon"
            },
            {
                "id": "04",
                "x": "271.96",
                "y": "14.39",
                "label": "Santander",
                "labelpos": "right"
            },
            {
                "id": "06",
                "x": "298.7",
                "y": "21.59",
                "label": "Bilbao",
                "labelpos": "bottom"
            },
            {
                "id": "10",
                "x": "464.28",
                "y": "95.64",
                "label": "Barcelona",
                "labelpos": "left"
            },
            {
                "id": "07",
                "x": "434.45",
                "y": "109.01",
                "label": "Tarragona",
                "labelpos": "left"
            },
            {
                "id": "12",
                "x": "371.72",
                "y": "86.38",
                "label": "Zaragoza",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "269.9",
                "y": "98.72",
                "label": "Valladolid",
                "labelpos": "right"
            },
            {
                "id": "11",
                "x": "151.64",
                "y": "216.99",
                "label": "Olivenza",
                "labelpos": "left"
            },
            {
                "id": "15",
                "x": "159.86",
                "y": "274.58",
                "label": "Huelva",
                "labelpos": "left"
            },
            {
                "id": "14",
                "x": "232.88",
                "y": "241.67",
                "label": "Cordoba"
            },
            {
                "id": "13",
                "x": "190.72",
                "y": "261.21",
                "label": "Sevilla",
                "labelpos": "left"
            },
            {
                "id": "16",
                "x": "180.43",
                "y": "304.41",
                "label": "Cadiz",
                "labelpos": "right"
            },
            {
                "id": "17",
                "x": "207.17",
                "y": "326",
                "label": "Algeciras",
                "labelpos": "left"
            },
            {
                "id": "18",
                "x": "246.25",
                "y": "299.27",
                "label": "Malaga"
            },
            {
                "id": "19",
                "x": "363.49",
                "y": "262.24",
                "label": "Cartagena",
                "labelpos": "left"
            },
            {
                "id": "21",
                "x": "352.18",
                "y": "243.73",
                "label": "Murcia",
                "labelpos": "left"
            },
            {
                "id": "22",
                "x": "385.09",
                "y": "225.22",
                "label": "Alicante",
                "labelpos": "left"
            },
            {
                "id": "23",
                "x": "385.09",
                "y": "175.86",
                "label": "Valencia",
                "labelpos": "left"
            },
            {
                "id": "25",
                "x": "488.96",
                "y": "169.68",
                "label": "Palma de Mallorca",
                "labelpos": "bottom"
            },
            {
                "id": "26",
                "x": "397.43",
                "y": "156.32",
                "label": "Castellon de la Plana",
                "labelpos": "left"
            }
        ],
        "application": [
            {
                "id": "MA",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape"
            },
            {
                "id": "26",
                "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='274.02' y='132.66' label='Madrid' labelPos='right' />
            <marker id='01' x='220.54' y='12.34' label='Gijon' labelPos='left'  />
            <marker id='02' x='122.84' y='16.45' label='A Coruna' labelPos='left'  />
            <marker id='03' x='106.39' y='65.81' label='Vigo' labelPos='left'  />
            <marker id='05' x='207.17' y='48.33' label='Leon'  />
            <marker id='04' x='271.96' y='14.39' label='Santander' labelPos='right'  />
            <marker id='06' x='298.7' y='21.59' label='Bilbao' labelPos='bottom'  />
            <marker id='10' x='464.28' y='95.64' label='Barcelona' labelPos='left'  />
            <marker id='07' x='434.45' y='109.01' label='Tarragona' labelPos='left'  />
            <marker id='12' x='371.72' y='86.38' label='Zaragoza' labelPos='left'  />
            <marker id='08' x='269.9' y='98.72' label='Valladolid' labelPos='right'  />
            <marker id='11' x='151.64' y='216.99' label='Olivenza' labelPos='left'  />
            <marker id='15' x='159.86' y='274.58' label='Huelva' labelPos='left'  />
            <marker id='14' x='232.88' y='241.67' label='Cordoba'  />
            <marker id='13' x='190.72' y='261.21' label='Sevilla' labelPos='left'  />
            <marker id='16' x='180.43' y='304.41' label='Cadiz' labelPos='right'  />
            <marker id='17' x='207.17' y='326'    label='Algeciras' labelPos='left'  />
            <marker id='18' x='246.25' y='299.27' label='Malaga'  />
            <marker id='19' x='363.49' y='262.24' label='Cartagena' labelPos='left'  />
            <marker id='21' x='352.18' y='243.73' label='Murcia' labelPos='left'  />
            <marker id='22' x='385.09' y='225.22' label='Alicante' labelPos='left'  />
            <marker id='23' x='385.09' y='175.86' label='Valencia' labelPos='left'  />
            <marker id='25' x='488.96' y='169.68' label='Palma de Mallorca' labelPos='bottom'  />
            <marker id='26' x='397.43' y='156.32' label='Castellon de la Plana' 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='05' shapeId='newCustomShape'  />
            <marker id='04' shapeId='newCustomShape'  />
            <marker id='06' shapeId='newCustomShape'  />
            <marker id='10' shapeId='newCustomShape'  />
            <marker id='07' shapeId='newCustomShape'  />
            <marker id='12' shapeId='newCustomShape'  />
            <marker id='08' shapeId='newCustomShape'  />
            <marker id='11' shapeId='newCustomShape'  />
            <marker id='15' shapeId='newCustomShape'  />
            <marker id='14' shapeId='newCustomShape'  />
            <marker id='13' shapeId='newCustomShape'  />
            <marker id='16' shapeId='newCustomShape'  />
            <marker id='17' shapeId='newCustomShape'  />
            <marker id='18' shapeId='newCustomShape'  />
            <marker id='19' shapeId='newCustomShape'  />
            <marker id='21' shapeId='newCustomShape'  />
            <marker id='22' shapeId='newCustomShape'  />
            <marker id='23' shapeId='newCustomShape'  />
            <marker id='25' shapeId='newCustomShape'  />
            <marker id='26' shapeId='newCustomShape'  />
        </application>
    </markers>
</map>