Grenada

Map Name: Grenada

Javascript Alias: maps/grenada

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": "GE",
                "shapeid": "myCustomShape",
                "x": "72.58",
                "y": "212.17",
                "label": "Saint George",
                "labelpos": "top"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "218.83",
                "y": "127.67",
                "label": "Grenville",
                "labelpos": "left"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "197.16",
                "y": "19.33",
                "label": "Sauteurs"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "125.66",
                "y": "49.67",
                "label": "Victoria"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "94.25",
                "y": "85.42",
                "label": "Gouyave"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "73.66",
                "y": "130.92",
                "label": "Grand Roy"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "212.33",
                "y": "72.42",
                "label": "Tivoli"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "205.83",
                "y": "156.92",
                "label": "Marquis",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "162.5",
                "y": "213.25",
                "label": "Saint Davids"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "99.66",
                "y": "251.17",
                "label": "Calivigny"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "70.41",
                "y": "226.25",
                "label": "Belmont",
                "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": "GE",
                "x": "72.58",
                "y": "212.17",
                "label": "Saint George",
                "labelpos": "top"
            },
            {
                "id": "01",
                "x": "218.83",
                "y": "127.67",
                "label": "Grenville",
                "labelpos": "left"
            },
            {
                "id": "02",
                "x": "197.16",
                "y": "19.33",
                "label": "Sauteurs"
            },
            {
                "id": "03",
                "x": "125.66",
                "y": "49.67",
                "label": "Victoria"
            },
            {
                "id": "04",
                "x": "94.25",
                "y": "85.42",
                "label": "Gouyave"
            },
            {
                "id": "06",
                "x": "73.66",
                "y": "130.92",
                "label": "Grand Roy"
            },
            {
                "id": "07",
                "x": "212.33",
                "y": "72.42",
                "label": "Tivoli"
            },
            {
                "id": "09",
                "x": "205.83",
                "y": "156.92",
                "label": "Marquis",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "162.5",
                "y": "213.25",
                "label": "Saint Davids"
            },
            {
                "id": "11",
                "x": "99.66",
                "y": "251.17",
                "label": "Calivigny"
            },
            {
                "id": "12",
                "x": "70.41",
                "y": "226.25",
                "label": "Belmont",
                "labelpos": "left"
            }
        ],
        "application": [
            {
                "id": "GE",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "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='GE' x='72.58' y='212.17' label='Saint George' labelPos='top'  />
            <marker id='01' x='218.83' y='127.67' label='Grenville' labelpos='left' />
            <marker id='02' x='197.16' y='19.33' label='Sauteurs'  />
            <marker id='03' x='125.66' y='49.67' label='Victoria'  />
            <marker id='04' x='94.25' y='85.42' label='Gouyave'  />
            <marker id='06' x='73.66' y='130.92' label='Grand Roy'  />
            <marker id='07' x='212.33' y='72.42' label='Tivoli'  />
            <marker id='09' x='205.83' y='156.92' label='Marquis' labelPos='left' />
            <marker id='10' x='162.5' y='213.25' label='Saint Davids'  />
            <marker id='11' x='99.66' y='251.17' label='Calivigny'  />
            <marker id='12' x='70.41' y='226.25' label='Belmont' labelPos='left' />

        </definition>
        <application>
            <marker id='GE' shapeId='myCustomShape'  />
            <marker id='01' shapeId='newCustomShape'  />
            <marker id='02' shapeId='newCustomShape'  />
            <marker id='03' shapeId='newCustomShape'  />
            <marker id='04' shapeId='newCustomShape'  />
            <marker id='06' shapeId='newCustomShape'  />
            <marker id='07' shapeId='newCustomShape'  />
            <marker id='09' shapeId='newCustomShape'  />
            <marker id='10' shapeId='newCustomShape'  />
            <marker id='11' shapeId='newCustomShape'  />
            <marker id='12' shapeId='newCustomShape'  />

        </application>
    </markers>
</map>