Map Name: SaintLucia
Javascript Alias: maps/saintlucia
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": "CA",
"shapeid": "myCustomShape",
"x": "113.19",
"y": "130.22",
"label": "Castries",
"labelpos": "left"
},
{
"id": "01",
"shapeid": "newCustomShape",
"x": "51.92",
"y": "214.33",
"label": "Anse Le Raye",
"labelpos": "right"
},
{
"id": "02",
"shapeid": "newCustomShape",
"x": "31.15",
"y": "323.37",
"label": "Soufriere",
"labelpos": "right"
},
{
"id": "03",
"shapeid": "newCustomShape",
"x": "39.46",
"y": "420.99",
"label": "Choiseul",
"labelpos": "right"
},
{
"id": "04",
"shapeid": "newCustomShape",
"x": "157.84",
"y": "483.3",
"label": "Vieux Fort"
},
{
"id": "05",
"shapeid": "newCustomShape",
"x": "227.42",
"y": "364.91",
"label": "Micoud",
"labelpos": "left"
},
{
"id": "06",
"shapeid": "newCustomShape",
"x": "240.92",
"y": "252.76",
"label": "Dennery",
"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": "CA",
"x": "113.19",
"y": "130.22",
"label": "Castries",
"labelpos": "left"
},
{
"id": "01",
"x": "51.92",
"y": "214.33",
"label": "Anse Le Raye",
"labelpos": "right"
},
{
"id": "02",
"x": "31.15",
"y": "323.37",
"label": "Soufriere",
"labelpos": "right"
},
{
"id": "03",
"x": "39.46",
"y": "420.99",
"label": "Choiseul",
"labelpos": "right"
},
{
"id": "04",
"x": "157.84",
"y": "483.3",
"label": "Vieux Fort"
},
{
"id": "05",
"x": "227.42",
"y": "364.91",
"label": "Micoud",
"labelpos": "left"
},
{
"id": "06",
"x": "240.92",
"y": "252.76",
"label": "Dennery",
"labelpos": "left"
}
],
"application": [
{
"id": "CA",
"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"
}
]
}
}
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='CA' x='113.19' y='130.22' label='Castries' labelPos='left' />
<marker id='01' x='51.92' y='214.33' label='Anse Le Raye' labelPos='right' />
<marker id='02' x='31.15' y='323.37' label='Soufriere' labelPos='right' />
<marker id='03' x='39.46' y='420.99' label='Choiseul' labelPos='right' />
<marker id='04' x='157.84' y='483.3' label='Vieux Fort' />
<marker id='05' x='227.42' y='364.91' label='Micoud' labelPos='left' />
<marker id='06' x='240.92' y='252.76' label='Dennery' labelPos='left' />
</definition>
<application>
<marker id='CA' 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' />
</application>
</markers>
</map>