{"id":7845,"date":"2021-12-18T09:55:13","date_gmt":"2021-12-18T00:55:13","guid":{"rendered":"https:\/\/gunmagisgeek.com\/blog\/?p=7845"},"modified":"2021-12-18T09:57:45","modified_gmt":"2021-12-18T00:57:45","slug":"deck-gl%e3%81%a7%e8%a1%9b%e6%98%9f%e5%86%99%e7%9c%9f%e7%94%bb%e5%83%8f%e3%82%92%e5%9c%b0%e5%9b%b3%e3%81%ab%e6%8e%b2%e8%bc%89%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/gunmagisgeek.com\/blog\/other\/7845","title":{"rendered":"deck.gl\u3067\u885b\u661f\u5199\u771f(\u753b\u50cf)\u3092\u5730\u56f3\u306b\u63b2\u8f09\u3059\u308b"},"content":{"rendered":"\n<p>\u3053\u306e\u8a18\u4e8b\u306f<a href=\"https:\/\/qiita.com\/advent-calendar\/2021\/deckgl\">deck.gl Advent Calendar 2021&nbsp;<\/a>\u53c2\u52a0\u8a18\u4e8b\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6982\u8981<\/h2>\n\n\n\n<p>\u5148\u65e5\u3001\u5927\u304d\u306a\u7adc\u5dfb\u88ab\u5bb3\u306e\u3042\u3063\u305f\u30b1\u30f3\u30bf\u30c3\u30ad\u30fc\u5dde\u30e1\u30a4\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u885b\u661f\u5199\u771f\u3092\u5730\u56f3\u306b\u63b2\u8f09\u3057\u305f\u3068\u3053\u308d\u3001\u53cd\u97ff\u3092\u3044\u305f\u3060\u3051\u305f\u306e\u3067\u3001deck.gl\u3067\u5730\u56f3\u4e0a\u306b\u753b\u50cf\u3092\u8868\u793a\u3059\u308b\u65b9\u6cd5\u3092\u8a18\u8f09\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-twitter wp-block-embed-twitter\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"ja\" dir=\"ltr\">\u30b1\u30f3\u30bf\u30c3\u30ad\u30fc\u5dde\u30e1\u30a4\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8972\u3063\u305f\u7adc\u5dfb\u3002<br>12\/11\u306b\u64ae\u5f71\u3055\u308c\u305f\u885b\u661f\u5199\u771f\u3092\u5730\u56f3\u306b\u91cd\u306d\u3066\u307f\u305f\u3002<br>\u304b\u306a\u308a\u306e\u898f\u6a21\u3067\u88ab\u5bb3\u304c\u767a\u751f\u3057\u3066\u3044\u308b\u3088\u3046\u3002<a href=\"https:\/\/t.co\/yRXjTLqaWc\">https:\/\/t.co\/yRXjTLqaWc<\/a> <a href=\"https:\/\/t.co\/WltkgMDm79\">pic.twitter.com\/WltkgMDm79<\/a><\/p>&mdash; \u6e05\u6c34\u6b63\u884c (@_shimizu) <a href=\"https:\/\/twitter.com\/_shimizu\/status\/1469838651266052096?ref_src=twsrc%5Etfw\">December 12, 2021<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n<\/div><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h2>\n\n\n\n<iframe src=\"https:\/\/codesandbox.io\/embed\/deck-gl-wei-xing-xie-zhen-hua-xiang-wodi-tu-nibiao-shi-suru-tl8c1?fontsize=14&amp;hidenavigation=1&amp;theme=dark&amp;view=split\" style=\"width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;\" title=\"deck.gl - \u885b\u661f\u5199\u771f(\u753b\u50cf)\u3092\u5730\u56f3\u306b\u8868\u793a\u3059\u308b\" allow=\"accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking\" sandbox=\"allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts\"><\/iframe>\n\n\n\n<h2 class=\"wp-block-heading\">\u89e3\u8aac<\/h2>\n\n\n\n<p>\u57fa\u672c\u7684\u306b\u306f\u753b\u50cf\u306e\u5de6\u4e0a\u306e\u5ea7\u6a19\u3068\u53f3\u4e0b\u306e\u5ea7\u6a19(<em>boundsBox<\/em>\/<em>bbox<\/em>)\u3092\u8abf\u3079\u3066<a href=\"https:\/\/deck.gl\/docs\/api-reference\/layers\/bitmap-layer\" data-type=\"URL\" data-id=\"https:\/\/deck.gl\/docs\/api-reference\/layers\/bitmap-layer\">BitmapLayer<\/a>\u3092\u4f7f\u3063\u3066\u8868\u793a\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u885b\u661f\u5199\u771f\u306e\u5834\u5408\u306f\u3001\u8cfc\u5165\u3057\u305f\u3055\u3044\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u306bbbox\u306e\u5024\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u591a\u3044\u306e\u3067\u306e\u3067\u305d\u3061\u3089\u3092\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001<a href=\"http:\/\/bboxfinder.com\/\" data-type=\"URL\" data-id=\"http:\/\/bboxfinder.com\/\">bboxfinder<\/a>\u306e\u3088\u3046\u306a\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u3046\u3053\u3068\u3067bbox\u306e\u5024\u3092\u8abf\u3079\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:js decode:true \">import { BitmapLayer } from \"deck.gl\";\n\nexport function renderLayers(props) {\n  \n  \n  const imgLayer = new BitmapLayer({\n    id: \"bitmap-layer\",\n    \/\/\u753b\u50cf\u306e\u5de6\u4e0a\u3001\u53f3\u4e0b\u306e\u5ea7\u6a19\u3092\u6307\u5b9a\n    bounds: [-88.64538, 36.73265, -88.62293, 36.75064],\n    \/\/\u8868\u793a\u3059\u308b\u753b\u50cf\u3092\u6307\u5b9a\n    image: \"img\/mayfield-2021-12-11.jpg\"\n  });\n\n\n  return [imgLayer];\n}\n<\/pre><\/div>\n\n\n\n<p>BitmapLayer\u306f\u753b\u50cf\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u30ec\u30a4\u30e4\u30fc\u3067\u3059\u304c\u3001image\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u306f\u753b\u50cf\u306e\u4ed6\u306bcanvas\u8981\u7d20\u3084video\u8981\u7d20\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>video\u8981\u7d20\u3092\u4f7f\u3063\u3066\u5730\u56f3\u4e0a\u306b\u52d5\u753b\u3092\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u300112\/20\u306b\u63b2\u8f09\u3059\u308b\u4e88\u5b9a\u306e\u300cdeck.gl\u3067\u5730\u56f3\u4e0a\u306b\u52d5\u753b\u3092\u8868\u793a\u3059\u308b\u300d\u306b\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306fdeck.gl Advent Calen&hellip;<\/p>\n","protected":false},"author":1,"featured_media":7858,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,1],"tags":[],"class_list":["post-7845","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-deck-gl","category-other","has-post-thumbnail-archive"],"_links":{"self":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/7845","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=7845"}],"version-history":[{"count":10,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/7845\/revisions"}],"predecessor-version":[{"id":7859,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/7845\/revisions\/7859"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/media\/7858"}],"wp:attachment":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/media?parent=7845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/categories?post=7845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/tags?post=7845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}