Taiwan

Map Name: Taiwan

Javascript Alias: maps/taiwan

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": "TC",
                "shapeid": "myCustomShape",
                "x": "366.32",
                "y": "49.88",
                "label": "Taipei",
                "labelpos": "left"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "390.88",
                "y": "42.72",
                "label": "Chi-Lung"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "414.41",
                "y": "125.6",
                "label": "Su-ao",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "373.48",
                "y": "218.72",
                "label": "Hua-lien",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "227.16",
                "y": "191.09",
                "label": "Tai-chung",
                "labelpos": "left"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "208.74",
                "y": "203.37",
                "label": "Chang-hua",
                "labelpos": "left"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "158.6",
                "y": "376.3",
                "label": "Tai-nan",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "304.93",
                "y": "404.95",
                "label": "Tai-tung",
                "labelpos": "right"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "170.88",
                "y": "425.41",
                "label": "Kao-hsiung",
                "labelpos": "left"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "66.51",
                "y": "280.11",
                "label": "Ma-kung",
                "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": "TC",
                "x": "366.32",
                "y": "49.88",
                "label": "Taipei",
                "labelpos": "left"
            },
            {
                "id": "01",
                "x": "390.88",
                "y": "42.72",
                "label": "Chi-Lung"
            },
            {
                "id": "02",
                "x": "414.41",
                "y": "125.6",
                "label": "Su-ao",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "373.48",
                "y": "218.72",
                "label": "Hua-lien",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "227.16",
                "y": "191.09",
                "label": "Tai-chung",
                "labelpos": "left"
            },
            {
                "id": "06",
                "x": "208.74",
                "y": "203.37",
                "label": "Chang-hua",
                "labelpos": "left"
            },
            {
                "id": "09",
                "x": "158.6",
                "y": "376.3",
                "label": "Tai-nan",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "304.93",
                "y": "404.95",
                "label": "Tai-tung",
                "labelpos": "right"
            },
            {
                "id": "11",
                "x": "170.88",
                "y": "425.41",
                "label": "Kao-hsiung",
                "labelpos": "left"
            },
            {
                "id": "16",
                "x": "66.51",
                "y": "280.11",
                "label": "Ma-kung",
                "labelpos": "left"
            }
        ],
        "application": [
            {
                "id": "TC",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "16",
                "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='TC' x='366.32' y='49.88' label='Taipei' labelPos='left'  />
            <marker id='01' x='390.88' y='42.72' label='Chi-Lung'  />
            <marker id='02' x='414.41' y='125.6' label='Su-ao' labelPos='left'  />
            <marker id='03' x='373.48' y='218.72' label='Hua-lien' labelPos='right'  />
            <marker id='04' x='227.16' y='191.09' label='Tai-chung' labelPos='left'  />
            <marker id='06' x='208.74' y='203.37' label='Chang-hua' labelPos='left'  />
            <marker id='09' x='158.6' y='376.3' label='Tai-nan' labelPos='left'  />
            <marker id='10' x='304.93' y='404.95' label='Tai-tung' labelPos='right'  />
            <marker id='11' x='170.88' y='425.41' label='Kao-hsiung' labelPos='left'  />
            <marker id='16' x='66.51' y='280.11' label='Ma-kung' labelPos='left'  />

        </definition>
        <application>
            <marker id='TC' 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='09' shapeId='newCustomShape'  />
            <marker id='10' shapeId='newCustomShape'  />
            <marker id='11' shapeId='newCustomShape'  />
            <marker id='16' shapeId='newCustomShape' />

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