India

Map Name: India

Javascript Alias: maps/india

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": "DE",
                "shapeid": "myCustomShape",
                "x": "206.62",
                "y": "164.57",
                "label": "Delhi",
                "labelpos": "bottom"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "170.05",
                "y": "62.98",
                "label": "Srinagar"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "204.59",
                "y": "116.82",
                "label": "Shimla",
                "labelpos": "right"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "192.4",
                "y": "121.9",
                "label": "Chandigarh",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "224.91",
                "y": "138.15",
                "label": "Dehradun",
                "labelpos": "right"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "276.72",
                "y": "223.49",
                "label": "Lucknow"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "176.15",
                "y": "214.34",
                "label": "Jaipur"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "210.69",
                "y": "280.38",
                "label": "Bhopal"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "122.31",
                "y": "276.31",
                "label": "Gandhinagar"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "89.8",
                "y": "311.87",
                "label": "Diu"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "109.1",
                "y": "364.69",
                "label": "Mumbai",
                "labelpos": "left"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "117.23",
                "y": "338.28",
                "label": "Silvasaa",
                "labelpos": "right"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "121.29",
                "y": "424.63",
                "label": "Panaji"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "177.16",
                "y": "477.46",
                "label": "Bangalore"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "225.93",
                "y": "498.79",
                "label": "Pondicherry",
                "labelpos": "bottom"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "236.08",
                "y": "468.31",
                "label": "Chennai"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "212.72",
                "y": "380.95",
                "label": "Hyderabad"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "280.78",
                "y": "312.88",
                "label": "Raipur"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape",
                "x": "338.69",
                "y": "338.28",
                "label": "Bhubaneshwar"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape",
                "x": "392.53",
                "y": "292.57",
                "label": "Kolkata",
                "labelpos": "right"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape",
                "x": "345.8",
                "y": "237.71",
                "label": "Patna"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape",
                "x": "341.73",
                "y": "282.41",
                "label": "Ranchi"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape",
                "x": "400.66",
                "y": "199.11",
                "label": "Gangtok"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape",
                "x": "456.53",
                "y": "267.17",
                "label": "Agartala",
                "labelpos": "left"
            },
            {
                "id": "27",
                "shapeid": "newCustomShape",
                "x": "468.72",
                "y": "221.46",
                "label": "Guwahati",
                "labelpos": "left"
            },
            {
                "id": "28",
                "shapeid": "newCustomShape",
                "x": "464.66",
                "y": "237.71",
                "label": "Shillong",
                "labelpos": "left"
            },
            {
                "id": "29",
                "shapeid": "newCustomShape",
                "x": "478.88",
                "y": "268.19",
                "label": "Aizwal",
                "labelpos": "right"
            },
            {
                "id": "30",
                "shapeid": "newCustomShape",
                "x": "488.02",
                "y": "196.06",
                "label": "Itanagar"
            },
            {
                "id": "31",
                "shapeid": "newCustomShape",
                "x": "503.26",
                "y": "228.57",
                "label": "Kohima"
            },
            {
                "id": "33",
                "shapeid": "newCustomShape",
                "x": "168.02",
                "y": "557.71",
                "label": "Thiruvananthapuram"
            },
            {
                "id": "32",
                "shapeid": "newCustomShape",
                "x": "499.19",
                "y": "248.88",
                "label": "Imphal"
            },
            {
                "id": "34",
                "shapeid": "newCustomShape",
                "x": "56.27",
                "y": "495.74",
                "label": "Kavarati"
            },
            {
                "id": "35",
                "shapeid": "newCustomShape",
                "x": "477.86",
                "y": "539.42",
                "label": "Port Blair"
            }
        ]
    }
}

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": "DE",
                "x": "206.62",
                "y": "164.57",
                "label": "Delhi",
                "labelpos": "bottom"
            },
            {
                "id": "01",
                "x": "170.05",
                "y": "62.98",
                "label": "Srinagar"
            },
            {
                "id": "02",
                "x": "204.59",
                "y": "116.82",
                "label": "Shimla",
                "labelpos": "right"
            },
            {
                "id": "03",
                "x": "192.4",
                "y": "121.9",
                "label": "Chandigarh",
                "labelpos": "left"
            },
            {
                "id": "05",
                "x": "224.91",
                "y": "138.15",
                "label": "Dehradun",
                "labelpos": "right"
            },
            {
                "id": "06",
                "x": "276.72",
                "y": "223.49",
                "label": "Lucknow"
            },
            {
                "id": "08",
                "x": "176.15",
                "y": "214.34",
                "label": "Jaipur"
            },
            {
                "id": "09",
                "x": "210.69",
                "y": "280.38",
                "label": "Bhopal"
            },
            {
                "id": "10",
                "x": "122.31",
                "y": "276.31",
                "label": "Gandhinagar"
            },
            {
                "id": "11",
                "x": "89.8",
                "y": "311.87",
                "label": "Diu"
            },
            {
                "id": "12",
                "x": "109.1",
                "y": "364.69",
                "label": "Mumbai",
                "labelpos": "left"
            },
            {
                "id": "13",
                "x": "117.23",
                "y": "338.28",
                "label": "Silvasaa",
                "labelpos": "right"
            },
            {
                "id": "14",
                "x": "121.29",
                "y": "424.63",
                "label": "Panaji"
            },
            {
                "id": "15",
                "x": "177.16",
                "y": "477.46",
                "label": "Bangalore"
            },
            {
                "id": "16",
                "x": "225.93",
                "y": "498.79",
                "label": "Pondicherry",
                "labelpos": "bottom"
            },
            {
                "id": "17",
                "x": "236.08",
                "y": "468.31",
                "label": "Chennai"
            },
            {
                "id": "07",
                "x": "212.72",
                "y": "380.95",
                "label": "Hyderabad"
            },
            {
                "id": "18",
                "x": "280.78",
                "y": "312.88",
                "label": "Raipur"
            },
            {
                "id": "20",
                "x": "338.69",
                "y": "338.28",
                "label": "Bhubaneshwar"
            },
            {
                "id": "22",
                "x": "392.53",
                "y": "292.57",
                "label": "Kolkata",
                "labelpos": "right"
            },
            {
                "id": "21",
                "x": "345.8",
                "y": "237.71",
                "label": "Patna"
            },
            {
                "id": "24",
                "x": "341.73",
                "y": "282.41",
                "label": "Ranchi"
            },
            {
                "id": "25",
                "x": "400.66",
                "y": "199.11",
                "label": "Gangtok"
            },
            {
                "id": "26",
                "x": "456.53",
                "y": "267.17",
                "label": "Agartala",
                "labelpos": "left"
            },
            {
                "id": "27",
                "x": "468.72",
                "y": "221.46",
                "label": "Guwahati",
                "labelpos": "left"
            },
            {
                "id": "28",
                "x": "464.66",
                "y": "237.71",
                "label": "Shillong",
                "labelpos": "left"
            },
            {
                "id": "29",
                "x": "478.88",
                "y": "268.19",
                "label": "Aizwal",
                "labelpos": "right"
            },
            {
                "id": "30",
                "x": "488.02",
                "y": "196.06",
                "label": "Itanagar"
            },
            {
                "id": "31",
                "x": "503.26",
                "y": "228.57",
                "label": "Kohima"
            },
            {
                "id": "32",
                "x": "499.19",
                "y": "248.88",
                "label": "Imphal"
            },
            {
                "id": "33",
                "x": "168.02",
                "y": "557.71",
                "label": "Thiruvananthapuram"
            },
            {
                "id": "34",
                "x": "56.27",
                "y": "495.74",
                "label": "Kavarati"
            },
            {
                "id": "35",
                "x": "477.86",
                "y": "539.42",
                "label": "Port Blair"
            }
        ],
        "application": [
            {
                "id": "DE",
                "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": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape"
            },
            {
                "id": "27",
                "shapeid": "newCustomShape"
            },
            {
                "id": "28",
                "shapeid": "newCustomShape"
            },
            {
                "id": "29",
                "shapeid": "newCustomShape"
            },
            {
                "id": "30",
                "shapeid": "newCustomShape"
            },
            {
                "id": "31",
                "shapeid": "newCustomShape"
            },
            {
                "id": "33",
                "shapeid": "newCustomShape"
            },
            {
                "id": "32",
                "shapeid": "newCustomShape"
            },
            {
                "id": "34",
                "shapeid": "newCustomShape"
            },
            {
                "id": "35",
                "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='DE' x='206.62' y='164.57' label='Delhi' labelPos='bottom'  />
            <marker id='01' x='170.05' y='62.98' label='Srinagar'  />
            <marker id='02' x='204.59' y='116.82' label='Shimla' labelPos='right'  />
            <marker id='03' x='192.4' y='121.9' label='Chandigarh' labelPos='left'  />
            <marker id='05' x='224.91' y='138.15' label='Dehradun' labelPos='right'  />
            <marker id='06' x='276.72' y='223.49' label='Lucknow'  />
            <marker id='08' x='176.15' y='214.34' label='Jaipur'  />
            <marker id='09' x='210.69' y='280.38' label='Bhopal'  />
            <marker id='10' x='122.31' y='276.31' label='Gandhinagar'  />
            <marker id='11' x='89.8' y='311.87' label='Diu'  />
            <marker id='12' x='109.1' y='364.69' label='Mumbai' labelPos='left'  />
            <marker id='13' x='117.23' y='338.28' label='Silvasaa' labelPos='right'  />
            <marker id='14' x='121.29' y='424.63' label='Panaji'  />
            <marker id='15' x='177.16' y='477.46' label='Bangalore'  />
            <marker id='16' x='225.93' y='498.79' label='Pondicherry' labelPos='bottom'  />
            <marker id='17' x='236.08' y='468.31' label='Chennai'  />
            <marker id='07' x='212.72' y='380.95' label='Hyderabad'  />
            <marker id='18' x='280.78' y='312.88' label='Raipur'  />
            <marker id='20' x='338.69' y='338.28' label='Bhubaneshwar'  />
            <marker id='22' x='392.53' y='292.57' label='Kolkata' labelPos='right'  />
            <marker id='21' x='345.8' y='237.71' label='Patna'  />
            <marker id='24' x='341.73' y='282.41' label='Ranchi'  />
            <marker id='25' x='400.66' y='199.11' label='Gangtok'  />
            <marker id='26' x='456.53' y='267.17' label='Agartala' labelPos='left'  />
            <marker id='27' x='468.72' y='221.46' label='Guwahati' labelPos='left'  />
            <marker id='28' x='464.66' y='237.71' label='Shillong' labelPos='left'  />
            <marker id='29' x='478.88' y='268.19' label='Aizwal' labelPos='right'  />
            <marker id='30' x='488.02' y='196.06' label='Itanagar'  />
            <marker id='31' x='503.26' y='228.57' label='Kohima'  />
            <marker id='32' x='499.19' y='248.88' label='Imphal'  />
            <marker id='33' x='168.02' y='557.71' label='Thiruvananthapuram'  />
            <marker id='34' x='56.27' y='495.74' label='Kavarati'  />
            <marker id='35' x='477.86' y='539.42' label='Port Blair'  />
        </definition>
        <application>
            <marker id='DE' 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='08' shapeId='newCustomShape'  />
            <marker id='09' shapeId='newCustomShape'  />
            <marker id='10' shapeId='newCustomShape'  />
            <marker id='11' shapeId='newCustomShape'  />
            <marker id='12' shapeId='newCustomShape'  />
            <marker id='13' shapeId='newCustomShape'  />
            <marker id='14' shapeId='newCustomShape'  />
            <marker id='15' shapeId='newCustomShape'  />
            <marker id='16' shapeId='newCustomShape'  />
            <marker id='17' shapeId='newCustomShape'  />
            <marker id='07' shapeId='newCustomShape'  />
            <marker id='18' shapeId='newCustomShape'  />
            <marker id='20' shapeId='newCustomShape'  />
            <marker id='22' shapeId='newCustomShape'  />
            <marker id='21' shapeId='newCustomShape'  />
            <marker id='24' shapeId='newCustomShape'  />
            <marker id='25' shapeId='newCustomShape'  />
            <marker id='26' shapeId='newCustomShape'  />
            <marker id='27' shapeId='newCustomShape'  />
            <marker id='28' shapeId='newCustomShape'  />
            <marker id='29' shapeId='newCustomShape'  />
            <marker id='30' shapeId='newCustomShape'  />
            <marker id='31' shapeId='newCustomShape'  />
            <marker id='33' shapeId='newCustomShape'  />
            <marker id='32' shapeId='newCustomShape'  />
            <marker id='34' shapeId='newCustomShape'  />
            <marker id='35' shapeId='newCustomShape'  />

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