原創|使用教程|編輯:龔雪|2014-05-13 10:11:21.000|閱讀 919 次
概述:本文羅列出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@fc6vip.cn
文章轉載自:慧都控件網