Map Name: Canada
Javascript Alias: maps/canada
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": "WH",
"shapeid": "myCustomShape",
"x": "43.65",
"y": "216.94",
"label": "White Horse",
"labelpos": "right"
},
{
"id": "YK",
"shapeid": "myCustomShape",
"x": "169.66",
"y": "247.69",
"label": "YellowKnife ",
"labelpos": "bottom"
},
{
"id": "IQ",
"shapeid": "myCustomShape",
"x": "419.69",
"y": "223.88",
"label": "Iqaluit ",
"labelpos": "right"
},
{
"id": "VC",
"shapeid": "myCustomShape",
"x": "37.7",
"y": "392.55",
"label": "Victoria ",
"labelpos": "bottom"
},
{
"id": "ED",
"shapeid": "myCustomShape",
"x": "134.93",
"y": "348.9",
"label": "Edmonton ",
"labelpos": "bottom"
},
{
"id": "RE",
"shapeid": "myCustomShape",
"x": "204.39",
"y": "410.41",
"label": "Regina "
},
{
"id": "WI",
"shapeid": "myCustomShape",
"x": "265.9",
"y": "429.26",
"label": "Winnipeg "
},
{
"id": "TO",
"shapeid": "myCustomShape",
"x": "427.63",
"y": "496.73",
"label": "Toronto ",
"labelpos": "bottom"
},
{
"id": "QU",
"shapeid": "myCustomShape",
"x": "486.17",
"y": "427.28",
"label": "Quebec ",
"labelpos": "bottom"
},
{
"id": "FR",
"shapeid": "myCustomShape",
"x": "529.82",
"y": "418.35",
"label": "Fredericton",
"labelpos": "bottom"
},
{
"id": "HA",
"shapeid": "myCustomShape",
"x": "566.53",
"y": "416.37",
"label": "Halifax",
"labelpos": "right"
},
{
"id": "CT",
"shapeid": "myCustomShape",
"x": "551.65",
"y": "404.46",
"label": "CharlotteTown"
},
{
"id": "SJ",
"shapeid": "myCustomShape",
"x": "624.08",
"y": "344.93",
"label": "St.John's",
"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"
}
],
"definition": [
{
"id": "WH",
"x": "43.65",
"y": "216.94",
"label": "White Horse",
"labelpos": "right"
},
{
"id": "YK",
"x": "169.66",
"y": "247.69",
"label": "YellowKnife ",
"labelpos": "bottom"
},
{
"id": "IQ",
"x": "419.69",
"y": "223.88",
"label": "Iqaluit ",
"labelpos": "right"
},
{
"id": "VC",
"x": "37.7",
"y": "392.55",
"label": "Victoria ",
"labelpos": "bottom"
},
{
"id": "ED",
"x": "134.93",
"y": "348.9",
"label": "Edmonton ",
"labelpos": "bottom"
},
{
"id": "RE",
"x": "204.39",
"y": "410.41",
"label": "Regina "
},
{
"id": "WI",
"x": "265.9",
"y": "429.26",
"label": "Winnipeg "
},
{
"id": "TO",
"x": "427.63",
"y": "496.73",
"label": "Toronto ",
"labelpos": "bottom"
},
{
"id": "QU",
"x": "486.17",
"y": "427.28",
"label": "Quebec ",
"labelpos": "bottom"
},
{
"id": "FR",
"x": "529.82",
"y": "418.35",
"label": "Fredericton",
"labelpos": "bottom"
},
{
"id": "HA",
"x": "566.53",
"y": "416.37",
"label": "Halifax",
"labelpos": "right"
},
{
"id": "CT",
"x": "551.65",
"y": "404.46",
"label": "CharlotteTown"
},
{
"id": "SJ",
"x": "624.08",
"y": "344.93",
"label": "St.John's",
"labelpos": "left"
}
],
"application": [
{
"id": "WH",
"shapeid": "myCustomShape"
},
{
"id": "YK",
"shapeid": "myCustomShape"
},
{
"id": "IQ",
"shapeid": "myCustomShape"
},
{
"id": "VC",
"shapeid": "myCustomShape"
},
{
"id": "ED",
"shapeid": "myCustomShape"
},
{
"id": "RE",
"shapeid": "myCustomShape"
},
{
"id": "WI",
"shapeid": "myCustomShape"
},
{
"id": "TO",
"shapeid": "myCustomShape"
},
{
"id": "QU",
"shapeid": "myCustomShape"
},
{
"id": "FR",
"shapeid": "myCustomShape"
},
{
"id": "HA",
"shapeid": "myCustomShape"
},
{
"id": "CT",
"shapeid": "myCustomShape"
},
{
"id": "SJ",
"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='WH' x='43.65' y='216.94' label='White Horse' labelPos='right' />
<marker id='YK' x='169.66' y='247.69' label='YellowKnife ' labelPos='bottom' />
<marker id='IQ' x='419.69' y='223.88' label='Iqaluit ' labelPos='right' />
<marker id='VC' x='37.7' y='392.55' label='Victoria ' labelPos='bottom' />
<marker id='ED' x='134.93' y='348.9' label='Edmonton ' labelPos='bottom' />
<marker id='RE' x='204.39' y='410.41' label='Regina ' />
<marker id='WI' x='265.9' y='429.26' label='Winnipeg ' />
<marker id='TO' x='427.63' y='496.73' label='Toronto ' labelPos='bottom' />
<marker id='QU' x='486.17' y='427.28' label='Quebec ' labelPos='bottom' />
<marker id='FR' x='529.82' y='418.35' label='Fredericton' labelPos='bottom' />
<marker id='HA' x='566.53' y='416.37' label='Halifax' labelPos='right' />
<marker id='CT' x='551.65' y='404.46' label='CharlotteTown' />
<marker id='SJ' x='624.08' y='344.93' label='St.John's' labelPos='left' />
</definition>
<application>
<marker id='WH' shapeId='myCustomShape' />
<marker id='YK' shapeId='myCustomShape' />
<marker id='IQ' shapeId='myCustomShape' />
<marker id='VC' shapeId='myCustomShape' />
<marker id='ED' shapeId='myCustomShape' />
<marker id='RE' shapeId='myCustomShape' />
<marker id='WI' shapeId='myCustomShape' />
<marker id='TO' shapeId='myCustomShape' />
<marker id='QU' shapeId='myCustomShape' />
<marker id='FR' shapeId='myCustomShape' />
<marker id='HA' shapeId='myCustomShape' />
<marker id='CT' shapeId='myCustomShape' />
<marker id='SJ' shapeId='myCustomShape' />
</application>
</markers>
</map>