Map Name: SanMarino
Javascript Alias: maps/sanmarino
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": "SM",
"shapeid": "myCustomShape",
"x": "120",
"y": "238.94",
"label": "San Marino",
"labelpos": "right"
},
{
"id": "01",
"shapeid": "newCustomShape",
"x": "268.42",
"y": "44.21",
"label": "La Dogana",
"labelpos": "left"
},
{
"id": "02",
"shapeid": "newCustomShape",
"x": "235.78",
"y": "85.26",
"label": "Serravalle"
},
{
"id": "03",
"shapeid": "newCustomShape",
"x": "208.42",
"y": "173.68",
"label": "Domagnano"
},
{
"id": "04",
"shapeid": "newCustomShape",
"x": "127.36",
"y": "210.52",
"label": "Borgo Maggiore",
"labelpos": "right"
},
{
"id": "05",
"shapeid": "newCustomShape",
"x": "26.31",
"y": "196.84",
"label": "Acquaviva",
"labelpos": "right"
},
{
"id": "06",
"shapeid": "newCustomShape",
"x": "269.47",
"y": "273.68",
"label": "Faetano",
"labelpos": "left"
},
{
"id": "07",
"shapeid": "newCustomShape",
"x": "137.89",
"y": "346.31",
"label": "Fiorentino",
"labelpos": "right"
},
{
"id": "08",
"shapeid": "newCustomShape",
"x": "50.52",
"y": "355.78",
"label": "Chiesanuova"
}
]
}
}
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": "SM",
"x": "120",
"y": "238.94",
"label": "San Marino",
"labelpos": "right"
},
{
"id": "01",
"x": "268.42",
"y": "44.21",
"label": "La Dogana",
"labelpos": "left"
},
{
"id": "02",
"x": "235.78",
"y": "85.26",
"label": "Serravalle"
},
{
"id": "03",
"x": "208.42",
"y": "173.68",
"label": "Domagnano"
},
{
"id": "04",
"x": "127.36",
"y": "210.52",
"label": "Borgo Maggiore",
"labelpos": "right"
},
{
"id": "05",
"x": "26.31",
"y": "196.84",
"label": "Acquaviva",
"labelpos": "right"
},
{
"id": "06",
"x": "269.47",
"y": "273.68",
"label": "Faetano",
"labelpos": "left"
},
{
"id": "07",
"x": "137.89",
"y": "346.31",
"label": "Fiorentino",
"labelpos": "right"
},
{
"id": "08",
"x": "50.52",
"y": "355.78",
"label": "Chiesanuova"
}
],
"application": [
{
"id": "SM",
"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='SM' x='120' y='238.94' label='San Marino' labelPos='right' />
<marker id='01' x='268.42' y='44.21' label='La Dogana' labelPos='left' />
<marker id='02' x='235.78' y='85.26' label='Serravalle' />
<marker id='03' x='208.42' y='173.68' label='Domagnano' />
<marker id='04' x='127.36' y='210.52' label='Borgo Maggiore' labelPos='right' />
<marker id='05' x='26.31' y='196.84' label='Acquaviva' labelPos='right' />
<marker id='06' x='269.47' y='273.68' label='Faetano' labelPos='left' />
<marker id='07' x='137.89' y='346.31' label='Fiorentino' labelPos='right' />
<marker id='08' x='50.52' y='355.78' label='Chiesanuova' />
</definition>
<application>
<marker id='SM' 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>