SpainProvince

Map Name: SpainProvince

Javascript Alias: maps/spainprovince

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"
            }
        ],
        "items": [
            {
                "id": "MA",
                "shapeid": "myCustomShape",
                "x": "433.55",
                "y": "206.62",
                "label": "Madrid (Capital)",
                "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"
            }
        ],
        "definition": [
            {
                "id": "MA",
                "x": "433.55",
                "y": "206.62",
                "label": "Madrid (Capital)",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "MA",
                "shapeid": "myCustomShape"
            }
        ]
    }
}

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'/>
        </shapes>   
        <definition>
            <marker id='MA' x='433.55' y='206.62' label='Madrid (Capital)' LabelPos='right' />
        </definition>
        <application>
            <marker id='MA' shapeId='myCustomShape'  />
        </application>
    </markers>
</map>