原创|使用教程|编辑:龚雪|2014-05-13 10:11:21.000|阅读 873 次
概述:本文罗列出FusionMaps制作中国地图需要用到的swf文件和实体标签数据,这些数据涵盖了包括北京,上海,天津,重庆,湖北,香港,台湾,内蒙古,黑龙江,新疆等中国所有省、市、自治区和直辖市的相关数据,方便大家参考使用。
# 慧都年终大促·界面/图表报表/文档/IDE等千款热门软控件火热促销中 >>
相关链接:
JavaScript地图工具FusionMaps功能十分强大, 能够帮助你给动态网页添加动画的、交互的以及数据驱动的Flash地图。这些图片是由XML数据源驱动,并且可以被整合到任何脚本技术 (ASP.NET, ASP, PHP, JSP, CF等)以及数据库中。今天小编把使用FusionMaps制作中国地图需要用到的swf文件和实体标签数据罗列出来,这些数据涵盖了包括北京,上海,天津,重庆,湖北,香港,台湾,内蒙古,黑龙江,新疆等中国所有省、市、自治区和直辖市的相关数据,方便大家参考使用。
全国省份:
Internal Id | Short Name (Abbreviated Name) | Long Name |
01 | AH | Anhui |
07 | FJ | Fujian |
15 | GS | Gansu |
30 | GD | Guangdong |
18 | GZ | Guizhou |
31 | HA | Hainan |
10 | HB | Hebei |
08 | HL | Heilongjiang |
09 | HE | Henan |
12 | HU | Hubei |
11 | HN | Hunan |
04 | JS | Jiangsu |
03 | JX | Jiangxi |
05 | JL | Jilin |
19 | LN | Liaoning |
06 | QH | Qinghai |
26 | SA | Shaanxi |
25 | SD | Shandong |
24 | SX | Shanxi |
32 | SC | Sichuan |
29 | YN | Yunnan |
02 | ZJ | Zhejiang |
36 | TB | Tibet |
20 | NM | Nei Mongol |
13 | XJ | Xinjiang |
16 | GX | Guangxi |
21 | NX | Ningxia Hui |
全国省会、直辖市及特别行政区:
Internal Id | Short Name (Abbreviated Name) | Long Name |
CN.AH | AH | Anhui |
CN.BJ | BJ | Beijing |
CN.CQ | CQ | Chongqing |
CN.FJ | FJ | Fujian |
CN.GS | GS | Gansu |
CN.GD | GD | Guangdong |
CN.GX | GX | Guangxi Zhuang |
CN.GZ | GZ | Guizhou |
CN.HA | HA | Hainan |
CN.HB | HB | Hebei |
CN.HE | HE | Henan |
CN.HU | HU | Hubei |
CN.HL | HL | Heilongjiang |
CN.HN | HN | Hunan |
CN.JS | JS | Jiangsu |
CN.JX | JX | Jiangxi |
CN.JL | JL | Jilin |
CN.LN | LN | Liaoning |
CN.NM | NM | Nei Mongol |
CN.NX | NX | Ningxia Hui |
CN.QH | QH | Qinghai |
CN.SA | SA | Shaanxi |
CN.SD | SD | Shandong |
CN.SH | SH | Shanghai |
CN.SX | SX | Shanxi |
CN.SC | SC | Sichuan |
CN.TJ | TJ | Tianjin |
CN.XJ | XJ | Xinjiang Uygur |
CN.XZ | TB | Tibet (Xizang) |
CN.YN | YN | Yunnan |
CN.ZJ | ZJ | Zhejiang |
CN.MA | MA | Macao |
CN.HK | HK | HongKong |
CN.TA | TA | Taiwan |
FusionMaps中国地图实体标签数据(XML)
<map animation="0" showshadow="0" showbevel="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> <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="BE" x="367.03" y="174.31" label="Beijing " labelpos="right" /> <marker id="01" x="433.68" y="75.87" label="Harbin" labelpos="right" /> <marker id="02" x="416.25" y="141.5" label="Shenyang" labelpos="right" /> <marker id="03" x="371.13" y="186.63" label="Tianjin" labelpos="right" /> <marker id="04" x="343.44" y="230.7" label="Zhengzhou" /> <marker id="05" x="389.59" y="249.16" label="Nanjing" labelpos="right" /> <marker id="06" x="416.25" y="264.54" label="Shanghai" labelpos="right" /> <marker id="07" x="321.91" y="252.24" label="Xi'an" labelpos="right" /> <marker id="08" x="360.88" y="287.1" label="Wuhan" labelpos="right" /> <marker id="09" x="276.79" y="299.4" label="Chongqing" labelpos="left" /> <marker id="10" x="260.39" y="286.07" label="Chengdu" labelpos="right" /> <marker id="11" x="152.72" y="285.05" label="Lhasa" /> <marker id="12" x="346.52" y="362.98" label="Guangzhou" labelpos="right" /> <marker id="13" x="285" y="212.25" label="Lanzhou" /> <marker id="14" x="117.86" y="112.79" label="Urumqi" /> </definition> <application> <marker id="BE" 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="07" 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" /> </application> </markers> </map>
FusionMaps中国地图实体标签数据(JSON)
{ "map": { "animation": "0", "showshadow": "0", "showbevel": "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" } ], "definition": [ { "id": "BE", "x": "367.03", "y": "174.31", "label": "Beijing ", "labelpos": "right" }, { "id": "01", "x": "433.68", "y": "75.87", "label": "Harbin", "labelpos": "right" }, { "id": "02", "x": "416.25", "y": "141.5", "label": "Shenyang", "labelpos": "right" }, { "id": "03", "x": "371.13", "y": "186.63", "label": "Tianjin", "labelpos": "right" }, { "id": "04", "x": "343.44", "y": "230.7", "label": "Zhengzhou" }, { "id": "05", "x": "389.59", "y": "249.16", "label": "Nanjing", "labelpos": "right" }, { "id": "06", "x": "416.25", "y": "264.54", "label": "Shanghai", "labelpos": "right" }, { "id": "07", "x": "321.91", "y": "252.24", "label": "Xi'an", "labelpos": "right" }, { "id": "08", "x": "360.88", "y": "287.1", "label": "Wuhan", "labelpos": "right" }, { "id": "09", "x": "276.79", "y": "299.4", "label": "Chongqing", "labelpos": "left" }, { "id": "10", "x": "260.39", "y": "286.07", "label": "Chengdu", "labelpos": "right" }, { "id": "11", "x": "152.72", "y": "285.05", "label": "Lhasa" }, { "id": "12", "x": "346.52", "y": "362.98", "label": "Guangzhou", "labelpos": "right" }, { "id": "13", "x": "285", "y": "212.25", "label": "Lanzhou" }, { "id": "14", "x": "117.86", "y": "112.79", "label": "Urumqi" } ], "application": [ { "id": "BE", "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": "07", "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" } ] } }
本站文章除注明转载外,均为本站原创或翻译。欢迎任何形式的转载,但请务必注明出处、不得修改原文相关链接,如果存在内容上的异议请邮件反馈至chenjj@capbkgr.cn
文章转载自:慧都控件网