{"id":4447,"date":"2015-09-21T14:18:49","date_gmt":"2015-09-21T05:18:49","guid":{"rendered":"https:\/\/gunmagisgeek.com\/wordpress\/?p=4447"},"modified":"2017-02-03T01:20:05","modified_gmt":"2017-02-02T16:20:05","slug":"post-4447","status":"publish","type":"post","link":"https:\/\/gunmagisgeek.com\/blog\/d3-js\/4447","title":{"rendered":"Apple\u304c\u8cb7\u53ce\u3057\u305f\u300cMapsense\u300d\u3068\u3044\u3046\u30b8\u30aa\u30d3\u30b8\u30e5\u30a2\u30e9\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>\u4ee5\u524d\u3001<span class=\"removed_link\" title=\"http:\/\/www.mapsense.co\/\">Mapsense<\/span>\u306b\u95a2\u3059\u308b\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u66f8\u3044\u3066\u3044\u308b\u9014\u4e2d\u3067\u30c7\u30d9\u30ed\u30c3\u30d1\u30fc\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u308a\u3001\u53d6\u5f97\u3057\u3066\u3044\u305fAPI\u30ad\u30fc\u3082\u4f7f\u3048\u306a\u304f\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u300c\u30b5\u30fc\u30d3\u30b9\u7d42\u4e86\u3059\u308b\u306e\u304b\u306a\uff1f\u300d\u3068\u601d\u3044\u304a\u8535\u5165\u308a\u306b\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u3068\u3053\u308d\u304c\u5148\u65e5\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30cb\u30e5\u30fc\u30b9\u304c\u3002<\/p>\n<p><a href=\"http:\/\/japan.cnet.com\/news\/business\/35070775\/\">\u30a2\u30c3\u30d7\u30eb\u3001\u5730\u56f3\u30c7\u30fc\u30bf\u8996\u899a\u5316\u306a\u3069\u624b\u304c\u3051\u308b\u65b0\u8208\u4f01\u696dMapsense\u3092\u8cb7\u53ce\u304b &#8211; CNET Japan<\/a><\/p>\n<p>\u601d\u308f\u306c\u5c55\u958b\u306b\u3073\u3063\u304f\u308a\u3067\u3059\u3002\u305d\u3053\u3067\u3001Appple\u306b\u3088\u308b\u8cb7\u53ce\u524d\u306e\u60c5\u5831\u306b\u306a\u308a\u307e\u3059\u304cMapsense\u306b\u95a2\u3059\u308b\u8a18\u4e8b\u3092\u516c\u958b\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\uff08\u304a\u305d\u3089\u304f\u8cb7\u53ce\u5f8c\u3082\u30b5\u30fc\u30d3\u30b9\u81ea\u4f53\u306f\u305d\u3093\u306a\u306b\u5927\u304d\u304f\u5909\u308f\u308b\u3053\u3068\u306f\u306a\u3044\u3068\u601d\u3044\u307e\u3059\uff09<\/p>\n<blockquote><p>\u958b\u767a\u8005\u306f\u3001Mapsense\u304c\u63d0\u4f9b\u3059\u308bJavaScript\u306e\u30d9\u30af\u30bf\u30fc\u30de\u30c3\u30d4\u30f3\u30b0\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u516c\u958b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4ed6\u306e\u958b\u767a\u8005\u3068\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u540c\u610f\u3059\u308c\u3070\u3001\u3053\u308c\u3089\u306b\u7121\u6599\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3002<\/p><\/blockquote>\n<p>\u3053\u306e\u90e8\u5206\u306e\u8a73\u7d30\u304c\u5c11\u3057\u306f\u5206\u304b\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<hr>\n<p>\u203b\u4ee5\u4e0b\u3001\u904e\u53bb\u8a18\u4e8b<br \/>\n\u3000<\/p>\n<h2>Mapsense\u3068\u306f<\/h2>\n<p>Mapsense\u306f\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u30de\u30c3\u30d7\u30a8\u30f3\u30b8\u30f3\u300cMapsense.js\u300d\u3068\u3001\u5de8\u5927\u306a\u5730\u7406\u7a7a\u9593\u60c5\u5831\u3092\u30d9\u30af\u30c8\u30eb\u30bf\u30a4\u30eb\u5316\u3057\u305f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u300cMapsense Data\u300d\u3068\u3044\u3046\uff12\u7a2e\u985e\u306e\u6a5f\u80fd\u304b\u3089\u6210\u308a\u7acb\u3064\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002\u30de\u30c3\u30d7\u30a8\u30f3\u30b8\u30f3\u306f\u30d9\u30af\u30bf\u30fc\u3067\u306e\u63cf\u753b\u3092\u57fa\u672c\u3068\u3057\u3001\u5730\u56f3\u4e0a\u3067\u306e\u8996\u899a\u5316\u306b\u5fc5\u8981\u306a\u69d8\u3005\u306a\u6a5f\u80fd\u3092\u5099\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>Mapsense.js<\/h2>\n<p>Mapsense.js\u306fD3.js\u3092\u30d9\u30fc\u30b9\u3068\u3057\u305f\u30d9\u30af\u30c8\u30eb\u30bf\u30a4\u30eb\u5bfe\u5fdc\u306e\u5730\u56f3\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<br \/>\n\u3044\u308f\u3086\u308bleaflet.js\u306a\u3069\u3068\u4f3c\u305f\u3082\u306e\u3067\u3059\u304c\u3001\u30d9\u30af\u30c8\u30eb\u30bf\u30a4\u30eb\u306b\u7279\u5316\u3057\u3066\u3044\u308b\u3053\u3068\u3068\u3001D3.js\u3092\u666e\u6bb5\u4f7f\u3063\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u306a\u3089\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304c\u3057\u3084\u3059\u3044\u4f5c\u308a\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2015\/09\/mapsense-example.jpg\" alt=\"mapsense-example\" width=\"520\" height=\"375\" class=\"alignnone size-full wp-image-4503 border\" srcset=\"https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2015\/09\/mapsense-example.jpg 520w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2015\/09\/mapsense-example-208x150.jpg 208w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/p>\n<p>D3\u30e9\u30c3\u30d1\u30fc\u30e9\u30a4\u30d6\u30e9\u30ea\u3089\u3057\u304f\u3001bl.coks.org\u306b\u591a\u6570\u30b5\u30f3\u30d7\u30eb\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/bl.ocks.org\/mapsense-examples\">bl.ocks.org &#8211; mapsense-examples<\/a><br \/>\n\u203b\u73fe\u5728\u3001\u6b86\u3069\u306e\u30b5\u30f3\u30d7\u30eb\u304c\u52d5\u4f5c\u3057\u306a\u304f\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>Hello Mapsense<\/h3>\n<p>\u57fa\u672c\u7684\u306a\u5730\u56f3\u3092\u8868\u793a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u3059\u3002<br \/>\n\u203b\u4e0b\u8a18\u30b3\u30fc\u30c9\u306f\u73fe\u5728\u5229\u7528\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u307e\u3059\u3002<\/p>\n<pre class=\"lang:xhtml decode:true \" >&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;!-- d3.js\u3068topojson.js\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059 --&gt;\r\n&lt;script src=\"http:\/\/d3js.org\/d3.v3.min.js\" charset=\"utf-8\"&gt;&lt;\/script&gt;\r\n&lt;script src=\"http:\/\/d3js.org\/topojson.v1.min.js\" charset=\"utf-8\"&gt;&lt;\/script&gt;\r\n\r\n&lt;!-- mapsense.js --&gt;\r\n&lt;script src=\"https:\/\/developer.mapsense.co\/mapsense.js\" charset=\"utf-8\"&gt;&lt;\/script&gt;\r\n&lt;link  type=\"text\/css\"  href=\"https:\/\/developer.mapsense.co\/mapsense.css\" rel=\"stylesheet\"\/&gt;\r\n&lt;style&gt;\r\nbody, html {\r\n\theight: 100%;\r\n\twidth: 100%;\r\n\tmargin: 0;\r\n}\r\n#map {\r\n\twidth: 960px;\r\n\theight: 500px;\r\n}\r\n&lt;\/style&gt;\r\n\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n\r\n&lt;div id=\"map\"&gt;&lt;\/div&gt;\r\n&lt;script&gt;\r\n\tvar map = mapsense.map(\"#map\") \r\n\t\t.add(mapsense.basemap().apiKey(\"API\u30ad\u30fc\u3092\u5165\u529b\"))\r\n&lt;\/script&gt;\r\n\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<h3>\u30b9\u30bf\u30a4\u30ea\u30f3\u30b0<\/h3>\n<p>\u5730\u56f3\u306e\u30c7\u30b6\u30a4\u30f3\u3082\u4e0b\u8a18\u306e\u3088\u3046\u306bcss\u3092\u4f7f\u3063\u3066\u7c21\u5358\u306b\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002 <\/p>\n<pre class=\"lang:js decode:true \" >.land {\r\n    fill: #fff4e1;\r\n    stroke: none;\r\n}\r\n.park {\r\n    fill: rgba(198, 243, 189, 0.75);\r\n    stroke: none;\r\n}\r\n.school {\r\n    fill: rgba(212, 212, 212, 0.7);\r\n    stroke: none;\r\n}\r\n.building {\r\n    fill: rgb(240, 240, 240);\r\n    stroke: none;\r\n}\r\n.urban {\r\n    fill: rgba(243, 210, 191, 0.19);\r\n    stroke: none;\r\n}\r\n.admin {\r\n    fill: none;\r\n    stroke: #aaa;\r\n}\r\n.tile-background {\r\n    fill: rgb(111, 186, 180);\r\n    stroke: none;\r\n}\r\n.water_polygon {\r\n    fill: rgb(111, 186, 180);\r\n    stroke: none;\r\n}\r\n.water_line {\r\n    fill: none;\r\n    stroke: rgba(111, 186, 180, .5);\r\n}\r\n.road_med,\r\n.road_minor {\r\n    fill: none;\r\n    stroke: rgba(203, 218, 221, 0.66);\r\n}\r\n.motorway,\r\n.ne_10m_roads {\r\n    fill: none;\r\n    stroke: rgb(246, 189, 134);\r\n}\r\n.arterial_major,\r\n.arterial_minor {\r\n    fill: none;\r\n    stroke: rgb(174, 203, 204);\r\n}\r\n.rail_minor,\r\n.rail_major {\r\n    fill: none;\r\n    stroke: lightgray;\r\n}\r\n.runway {\r\n    fill: none;\r\n    stroke: lightgray;\r\n}\r\n.path {\r\n    fill: none;\r\n    stroke: rgb(185,185,185);\r\n}\r\n<\/pre>\n<p>Mapsense\u306f\u72ec\u81ea\u306e\u30b9\u30bf\u30a4\u30eb\u5b9a\u7fa9\u3092\u6301\u305f\u305a\u3001\u901a\u5e38\u306esvg\u306b\u5bfe\u3059\u308b\u30b9\u30bf\u30a4\u30eb\u8a2d\u5b9a\u304c\u305d\u306e\u307e\u307e\u5730\u56f3\u306b\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<br \/>\n\u30d6\u30e9\u30a6\u30b6\u306eWeb\u958b\u767a\u8005\u30c4\u30fc\u30eb\u3092\u5229\u7528\u3057\u3066\u306e\u30c7\u30d0\u30c3\u30b0\u3082\u5206\u304b\u308a\u3084\u3059\u3044\u306e\u3067\u3001\u5730\u56f3\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u306e\u304c\u975e\u5e38\u306b\u7c21\u5358\u3067\u3059\u3002<\/p>\n<p><a href=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2015\/08\/mapsense_debug.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2015\/08\/mapsense_debug-300x152.jpg\" alt=\"mapsense_debug\" width=\"300\" height=\"152\" class=\"alignnone size-medium wp-image-4449\" \/><\/a><\/p>\n<h2>Mapsense data<\/h2>\n<p>Mapsense Data\u306f\u3001\u69d8\u3005\u306a\u30c7\u30fc\u30bf\u3092\u30d9\u30af\u30c8\u30eb\u30bf\u30a4\u30eb\u3068\u3057\u3066\u914d\u4fe1\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002<br \/>\n\u5358\u7d14\u306aGeoJSON or TopoJSON\u3068\u3057\u3066\u8aad\u307f\u8fbc\u3080\u306b\u306f\u5927\u304d\u3059\u304e\u308b\u3088\u3046\u306a\u30c7\u30fc\u30bf\u3092\u30bf\u30a4\u30eb\u72b6\u306b\u5206\u5272\u3059\u308b\u3053\u3068\u3067\u3001\u5b9f\u7528\u7684\u306a\u30b9\u30d4\u30fc\u30c9\u3067\u52d5\u4f5c\u3059\u308b\u30b8\u30aa\u30d3\u30b8\u30e5\u30a2\u30e9\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u5730\u56f3\u306e\u30ba\u30fc\u30e0\u30ec\u30d9\u30eb\u306b\u5408\u308f\u305b\u3066\u914d\u4fe1\u3059\u308b\u30c7\u30fc\u30bf\u306e\u5185\u5bb9\u3082\u6700\u9069\u306a\u5f62\u306b\u8abf\u6574\u3057\u3066\u304f\u308c\u308b\u3068\u3044\u3046\u6a5f\u80fd\u3082\u5099\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30d9\u30ed\u30c3\u30d1\u30fc\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089API\u30ad\u30fc\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2015\/09\/mapsense2.jpg\" alt=\"mapsense data\" width=\"520\" height=\"387\" class=\"alignnone size-full wp-image-4504 border\" srcset=\"https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2015\/09\/mapsense2.jpg 520w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2015\/09\/mapsense2-202x150.jpg 202w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/p>\n<h2>\u7dcf\u62ec<\/h2>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001\u4eca\u3067\u306f\u4f7f\u3048\u306a\u3044\u60c5\u5831\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u304c\u4e00\u5fdc\u516c\u958b\u3057\u307e\u3057\u305f\u3002<br \/>\n\u6700\u8fd1\u306f\u30b8\u30aa\u7cfb\u306e\u30b5\u30fc\u30d3\u30b9\u306e\u52d5\u304d\u304c\u6d3b\u767a\u3067\u3001\u3061\u3087\u3063\u3068\u76ee\u3092\u96e2\u3059\u3068\u77ac\u304f\u9593\u306b\u7f6e\u3044\u3066\u3044\u304b\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u306d\u3002<\/p>\n<p><a href=\"http:\/\/thebridge.jp\/2015\/09\/apple-reportedly-acquires-mapping-visualization-startup-mapsense\">Apple\u304c\u5730\u56f3\u30c7\u30fc\u30bf\u8996\u899a\u5316\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u300cMapsense\u300d\u3092\u8cb7\u53ce &#8211; THE BRIDGE\uff08\u30b6\u30fb\u30d6\u30ea\u30c3\u30b8\uff09<\/a><\/p>\n<blockquote><p>\u30de\u30c3\u30d4\u30f3\u30b0\u3068\u30b8\u30aa\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u304c\u4eca\u30a2\u30c4\u3044\u3002\u3064\u3044\u5148\u9031\u306b\u306f\u30de\u30c3\u30d4\u30f3\u30b0\u30fb\u30b8\u30aa\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u30b9\u30bf\u30fc\u30c8\u30a2\u30c3\u30d7\u306eCartoDB\u304c2300\u30c9\u30eb\u3092\u30d9\u30f3\u30c1\u30e3\u30fc\u30ad\u30e3\u30d4\u30bf\u30eb\u304b\u3089\u8abf\u9054\u3057\u305f\u3070\u304b\u308a\u3060\u3002<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524d\u3001Mapsense\u306b\u95a2\u3059\u308b\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u305f\u306e\u3067&hellip;<\/p>\n","protected":false},"author":1,"featured_media":4503,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,31],"tags":[],"class_list":["post-4447","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-d3-js","category-iphoneipad","has-post-thumbnail-archive"],"_links":{"self":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/4447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/comments?post=4447"}],"version-history":[{"count":0,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/4447\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/media\/4503"}],"wp:attachment":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/media?parent=4447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/categories?post=4447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/tags?post=4447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}