{"id":48,"date":"2022-03-16T11:50:47","date_gmt":"2022-03-16T03:50:47","guid":{"rendered":"http:\/\/www.sdkyzn.com\/?p=48"},"modified":"2025-03-05T15:01:53","modified_gmt":"2025-03-05T07:01:53","slug":"%e8%81%94%e7%b3%bb%e6%88%91%e4%bb%ac","status":"publish","type":"post","link":"https:\/\/www.sdkyzn.com\/?p=48","title":{"rendered":"\u8054\u7cfb\u6211\u4eec"},"content":{"rendered":"\n
\n
\n

\u624b\u673a\uff1a13864198914
\u7535\u8bdd\uff1a0531-86400265
\u90ae\u4ef6\uff1a13864198914@163.com
\u5730\u5740\uff1a\u5c71\u4e1c\u7701\u6d4e\u5357\u5e02\u5386\u57ce\u533a\u9ec4\u53f0\u5357\u8def 5-20 \u3002<\/p>\n<\/div>\n\n\n\n

\n
\"\u8054\u7cfb\u6211\u4eec\u63d2\u56fe\"<\/a><\/figure>\n<\/div>\n<\/div>\n\n\n\n\n\n\n \n \n \u5c71\u4e1c\u9177\u5f71\u667a\u80fd\u6709\u9650\u516c\u53f8\u4f4d\u7f6e<\/title>\n <style>\n #map-container {\n width: 100%;\n height: 400px;\n }\n <\/style>\n<\/head>\n<body>\n <div id=\"map-container\"><\/div>\n\n <script type=\"text\/javascript\" src=\"https:\/\/webapi.amap.com\/maps?v=1.4.15&key=342b589906ab240ee99ef6a9cf474ab2\"><\/script>\n <script type=\"text\/javascript\">\n \/\/ \u521d\u59cb\u5316\u5730\u56fe\n var map = new AMap.Map('map-container', {\n zoom: 15, \/\/ \u7f29\u653e\u7ea7\u522b\n center: [117.056298, 36.689108] \/\/ \u4e2d\u5fc3\u70b9\u5750\u6807\n });\n\n \/\/ \u6dfb\u52a0\u516c\u53f8\u4f4d\u7f6e\u6807\u8bb0\n var companyMarker = new AMap.Marker({\n position: [117.056298, 36.689108], \/\/ \u516c\u53f8\u4f4d\u7f6e\n title: '\u5c71\u4e1c\u9177\u5f71\u667a\u80fd\u6709\u9650\u516c\u53f8' \/\/ \u6807\u8bb0\u6807\u9898\n });\n\n \/\/ \u5c06\u516c\u53f8\u6807\u8bb0\u6dfb\u52a0\u5230\u5730\u56fe\n map.add(companyMarker);\n\n \/\/ \u4fe1\u606f\u7a97\u53e3\u5185\u5bb9\n var infoWindow = new AMap.InfoWindow({\n content: '<div style=\"padding: 5px;\"><strong>\u5c71\u4e1c\u9177\u5f71\u667a\u80fd\u6709\u9650\u516c\u53f8<\/strong><\/div>', \/\/ \u4fe1\u606f\u7a97\u53e3\u5185\u5bb9\n offset: new AMap.Pixel(0, -30) \/\/ \u4fe1\u606f\u7a97\u53e3\u504f\u79fb\n });\n\n \/\/ \u9ed8\u8ba4\u6253\u5f00\u516c\u53f8\u4fe1\u606f\u7a97\u53e3\n infoWindow.open(map, companyMarker.getPosition());\n\n \/\/ \u70b9\u51fb\u516c\u53f8\u6807\u8bb0\u65f6\u663e\u793a\u4fe1\u606f\u7a97\u53e3\n companyMarker.on('click', function() {\n infoWindow.open(map, companyMarker.getPosition());\n });\n\n \/\/ \u6dfb\u52a0\u5f53\u524d\u4f4d\u7f6e\u6807\u8bb0\n var currentMarker = new AMap.Marker({\n position: [117.056298, 36.689108], \/\/ \u521d\u59cb\u4f4d\u7f6e\uff08\u7a0d\u540e\u4f1a\u88ab\u8986\u76d6\uff09\n icon: 'https:\/\/webapi.amap.com\/theme\/v1.3\/markers\/n\/mark_bs.png', \/\/ \u7ea2\u8272\u56fe\u6807\n offset: new AMap.Pixel(-13, -30) \/\/ \u56fe\u6807\u504f\u79fb\u91cf\n });\n\n \/\/ \u5c06\u5f53\u524d\u4f4d\u7f6e\u6807\u8bb0\u6dfb\u52a0\u5230\u5730\u56fe\n map.add(currentMarker);\n\n \/\/ \u4f7f\u7528\u9ad8\u5fb7\u5730\u56fe\u7684 Geolocation \u63d2\u4ef6\u83b7\u53d6\u5f53\u524d\u4f4d\u7f6e\n AMap.plugin('AMap.Geolocation', function() {\n var geolocation = new AMap.Geolocation({\n enableHighAccuracy: true, \/\/ \u662f\u5426\u4f7f\u7528\u9ad8\u7cbe\u5ea6\u5b9a\u4f4d\n timeout: 10000, \/\/ \u5b9a\u4f4d\u8d85\u65f6\u65f6\u95f4\n buttonPosition: 'RB', \/\/ \u5b9a\u4f4d\u6309\u94ae\u4f4d\u7f6e\n buttonOffset: new AMap.Pixel(10, 20), \/\/ \u5b9a\u4f4d\u6309\u94ae\u504f\u79fb\n zoomToAccuracy: true \/\/ \u5b9a\u4f4d\u6210\u529f\u540e\u662f\u5426\u81ea\u52a8\u8c03\u6574\u5730\u56fe\u89c6\u91ce\n });\n\n \/\/ \u5c06\u5b9a\u4f4d\u63a7\u4ef6\u6dfb\u52a0\u5230\u5730\u56fe\n map.addControl(geolocation);\n\n \/\/ \u76d1\u542c\u5b9a\u4f4d\u6210\u529f\u4e8b\u4ef6\n geolocation.getCurrentPosition(function(status, result) {\n if (status === 'complete') {\n var lng = result.position.lng; \/\/ \u7ecf\u5ea6\n var lat = result.position.lat; \/\/ \u7eac\u5ea6\n currentMarker.setPosition([lng, lat]); \/\/ \u66f4\u65b0\u5f53\u524d\u4f4d\u7f6e\u6807\u8bb0\n } else {\n console.error('\u5b9a\u4f4d\u5931\u8d25\uff1a', result);\n }\n });\n });\n <\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"excerpt-fade\"><\/span><\/p>\n","protected":false},"author":1,"featured_media":2066,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-26"],"_links":{"self":[{"href":"https:\/\/www.sdkyzn.com\/index.php?rest_route=\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sdkyzn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sdkyzn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sdkyzn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sdkyzn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=48"}],"version-history":[{"count":46,"href":"https:\/\/www.sdkyzn.com\/index.php?rest_route=\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":2627,"href":"https:\/\/www.sdkyzn.com\/index.php?rest_route=\/wp\/v2\/posts\/48\/revisions\/2627"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sdkyzn.com\/index.php?rest_route=\/wp\/v2\/media\/2066"}],"wp:attachment":[{"href":"https:\/\/www.sdkyzn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sdkyzn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sdkyzn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}