{"id":2,"date":"2016-10-07T11:05:14","date_gmt":"2016-10-07T03:05:14","guid":{"rendered":"http:\/\/www.dianfan-group.com\/?page_id=2"},"modified":"2021-04-14T17:14:35","modified_gmt":"2021-04-14T09:14:35","slug":"sample-page","status":"publish","type":"page","link":"http:\/\/www.dianfan-group.com\/?page_id=2","title":{"rendered":"\u8054\u7cfb\u6211\u4eec"},"content":{"rendered":"\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\r\n\r\n\r\n\r\n\r\n\r\n\u767e\u5ea6\u5730\u56feAPI\u81ea\u5b9a\u4e49\u5730\u56fe<\/title>\r\n<!--\u5f15\u7528\u767e\u5ea6\u5730\u56feAPI-->\r\n<style type=\"text\/css\">\r\n html,body{margin:0;padding:0;}\r\n .iw_poi_title {color:#CC5522;font-size:14px;font-weight:bold;overflow:hidden;padding-right:13px;white-space:nowrap}\r\n .iw_poi_content {font:12px arial,sans-serif;overflow:visible;padding-top:4px;white-space:-moz-pre-wrap;word-wrap:break-word}\r\n<\/style>\r\n<script type=\"text\/javascript\" src=\"http:\/\/api.map.baidu.com\/api?key=&v=1.1&services=true\"><\/script>\r\n<\/head>\r\n\r\n<body>\r\n <!--\u767e\u5ea6\u5730\u56fe\u5bb9\u5668-->\r\n <div style=\"width:697px;height:550px;border:#ccc solid 1px;\" id=\"dituContent\"><\/div>\r\n<\/body>\r\n<script type=\"text\/javascript\">\r\n \/\/\u521b\u5efa\u548c\u521d\u59cb\u5316\u5730\u56fe\u51fd\u6570\uff1a\r\n function initMap(){\r\n createMap();\/\/\u521b\u5efa\u5730\u56fe\r\n setMapEvent();\/\/\u8bbe\u7f6e\u5730\u56fe\u4e8b\u4ef6\r\n addMapControl();\/\/\u5411\u5730\u56fe\u6dfb\u52a0\u63a7\u4ef6\r\n }\r\n \r\n \/\/\u521b\u5efa\u5730\u56fe\u51fd\u6570\uff1a\r\n function createMap(){\r\n var map = new BMap.Map(\"dituContent\");\/\/\u5728\u767e\u5ea6\u5730\u56fe\u5bb9\u5668\u4e2d\u521b\u5efa\u4e00\u4e2a\u5730\u56fe\r\n var point = new BMap.Point(121.354355,31.142031);\/\/\u5b9a\u4e49\u4e00\u4e2a\u4e2d\u5fc3\u70b9\u5750\u6807\r\n map.centerAndZoom(point,17);\/\/\u8bbe\u5b9a\u5730\u56fe\u7684\u4e2d\u5fc3\u70b9\u548c\u5750\u6807\u5e76\u5c06\u5730\u56fe\u663e\u793a\u5728\u5730\u56fe\u5bb9\u5668\u4e2d\r\n window.map = map;\/\/\u5c06map\u53d8\u91cf\u5b58\u50a8\u5728\u5168\u5c40\r\n }\r\n \r\n \/\/\u5730\u56fe\u4e8b\u4ef6\u8bbe\u7f6e\u51fd\u6570\uff1a\r\n function setMapEvent(){\r\n map.enableDragging();\/\/\u542f\u7528\u5730\u56fe\u62d6\u62fd\u4e8b\u4ef6\uff0c\u9ed8\u8ba4\u542f\u7528(\u53ef\u4e0d\u5199)\r\n map.enableScrollWheelZoom();\/\/\u542f\u7528\u5730\u56fe\u6eda\u8f6e\u653e\u5927\u7f29\u5c0f\r\n map.enableDoubleClickZoom();\/\/\u542f\u7528\u9f20\u6807\u53cc\u51fb\u653e\u5927\uff0c\u9ed8\u8ba4\u542f\u7528(\u53ef\u4e0d\u5199)\r\n map.enableKeyboard();\/\/\u542f\u7528\u952e\u76d8\u4e0a\u4e0b\u5de6\u53f3\u952e\u79fb\u52a8\u5730\u56fe\r\n }\r\n \r\n \/\/\u5730\u56fe\u63a7\u4ef6\u6dfb\u52a0\u51fd\u6570\uff1a\r\n function addMapControl(){\r\n \/\/\u5411\u5730\u56fe\u4e2d\u6dfb\u52a0\u7f29\u653e\u63a7\u4ef6\r\n\tvar ctrl_nav = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_LARGE});\r\n\tmap.addControl(ctrl_nav);\r\n \/\/\u5411\u5730\u56fe\u4e2d\u6dfb\u52a0\u7f29\u7565\u56fe\u63a7\u4ef6\r\n\tvar ctrl_ove = new BMap.OverviewMapControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT,isOpen:1});\r\n\tmap.addControl(ctrl_ove);\r\n \/\/\u5411\u5730\u56fe\u4e2d\u6dfb\u52a0\u6bd4\u4f8b\u5c3a\u63a7\u4ef6\r\n\tvar ctrl_sca = new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT});\r\n\tmap.addControl(ctrl_sca);\r\n }\r\n \r\n \r\n initMap();\/\/\u521b\u5efa\u548c\u521d\u59cb\u5316\u5730\u56fe\r\n<\/script>\r\n<\/html>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-50 elementor-top-column elementor-element elementor-element-6cd87bb5\" data-id=\"6cd87bb5\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-724740fa elementor-widget elementor-widget-heading\" data-id=\"724740fa\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">\u8054\u7cfb\u6211\u4eec<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-2e671bd7 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2e671bd7\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-7a6f355e\" data-id=\"7a6f355e\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2591ef95 elementor-widget elementor-widget-heading\" data-id=\"2591ef95\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"elementor-heading-title elementor-size-default\">\u4f4d\u7f6e<\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5bcc8281 elementor-widget elementor-widget-text-editor\" data-id=\"5bcc8281\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\"><p>\u4e0a\u6d77\u5e02\u95f5\u884c\u533a\u4e2d\u6625\u8def7089\u53f7\u798f\u514b\u65af\u94f6\u5ea7237\u5ba4<\/p><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1915b2ed elementor-widget elementor-widget-heading\" data-id=\"1915b2ed\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<div class=\"elementor-heading-title elementor-size-default\">\u8054\u7cfb\u65b9\u5f0f<\/div>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<div class=\"elementor-element elementor-element-5e9062b7 elementor-widget elementor-widget-text-editor\" data-id=\"5e9062b7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\"><p>\u7535\u8bdd : 158-2126-9457<\/p><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1ccd1e70 elementor-widget elementor-widget-text-editor\" data-id=\"1ccd1e70\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\"><p>\u90ae\u7bb1 : maoxf@dianfan-group.com<\/p><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p class=\"qua-blog-post-description\">\u767e\u5ea6\u5730\u56feAPI\u81ea\u5b9a\u4e49\u5730\u56fe \u8054\u7cfb\u6211\u4eec \u4f4d\u7f6e \u4e0a\u6d77\u5e02\u95f5\u884c\u533a\u4e2d\u6625\u8def7089\u53f7\u798f\u514b\u65af\u94f6\u5ea7237\u5ba4 \u8054\u7cfb\u65b9\u5f0f \u7535\u8bdd : […]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":6,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.dianfan-group.com\/index.php?rest_route=\/wp\/v2\/pages\/2"}],"collection":[{"href":"http:\/\/www.dianfan-group.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.dianfan-group.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.dianfan-group.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.dianfan-group.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2"}],"version-history":[{"count":10,"href":"http:\/\/www.dianfan-group.com\/index.php?rest_route=\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":171,"href":"http:\/\/www.dianfan-group.com\/index.php?rest_route=\/wp\/v2\/pages\/2\/revisions\/171"}],"wp:attachment":[{"href":"http:\/\/www.dianfan-group.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}