René's URL Explorer Experiment


Title: How to use TileLayer? · Issue #28 · plotly/dash-deck · GitHub

Open Graph Title: How to use TileLayer? · Issue #28 · plotly/dash-deck

X Title: How to use TileLayer? · Issue #28 · plotly/dash-deck

Description: Is TileLayer like https://deck.gl/docs/api-reference/geo-layers/tile-layer supported by dash-deck? If I run the example below I get a "white screen" and following error: layers-pass.js:96 Uncaught Error: GeoJSON does not have type at y (...

Open Graph Description: Is TileLayer like https://deck.gl/docs/api-reference/geo-layers/tile-layer supported by dash-deck? If I run the example below I get a "white screen" and following error: layers-pass.js:96 Uncaught ...

X Description: Is TileLayer like https://deck.gl/docs/api-reference/geo-layers/tile-layer supported by dash-deck? If I run the example below I get a "white screen" and following error: layers-pass.js:96...

Opengraph URL: https://github.com/plotly/dash-deck/issues/28

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to use TileLayer?","articleBody":"Is **TileLayer** like\r\n\r\nhttps://deck.gl/docs/api-reference/geo-layers/tile-layer\r\n\r\nsupported by dash-deck?\r\n\r\nIf I run the example below I get a \"white screen\" and following error:\r\n\r\n```\r\nlayers-pass.js:96 Uncaught Error: GeoJSON does not have type\r\n    at y (assert.js:3:11)\r\n    at t.value (log.js:109:7)\r\n    at geojson.js:7:7\r\n    at e.value (geojson-layer.js:87:22)\r\n    at e.value (layer.js:775:14)\r\n    at e.value (layer.js:755:14)\r\n    at e.value (layer.js:515:14)\r\n    at e.value (layers-pass.js:238:15)\r\n    at e.value (layers-pass.js:118:36)\r\n    at e.value (layers-pass.js:54:38)\r\n```\r\nThen I tried to include \r\n\r\n```\r\nrender_sub_layers=lambda props: pdk.Layer(\r\n        \"BitmapLayer\",\r\n        data=None,\r\n        image=props.tile,\r\n        bounds=props.tile_bounds,\r\n    ),\r\n```\r\n    \r\nand got \r\n\r\n    error.js:16 TypeError: this.props.renderSubLayers is not a function\r\n\r\n=\u003e Could you please provide an example for TileLayers in the demo folder or clarify what features of deckgl are supported in the documentation?\r\n\r\n```\r\nimport dash\r\nimport dash_deck\r\nfrom dash import html\r\nimport pydeck as pdk\r\n\r\napp = dash.Dash(__name__)\r\n\r\n# Define a TileLayer for OpenStreetMap tiles\r\nosm_layer = pdk.Layer(\r\n    \"TileLayer\",\r\n    data=\"https://a.tile.openstreetmap.org/{z}/{x}/{y}.png\",\r\n    min_zoom=0,\r\n    max_zoom=19,\r\n    tile_size=256,\r\n)\r\n\r\n# Define the initial view state\r\nview_state = pdk.ViewState(\r\n    longitude=-122.4,  # Centered around San Francisco\r\n    latitude=37.8,\r\n    zoom=10,\r\n    pitch=0,\r\n    bearing=0,\r\n)\r\n\r\n# Create the deck.gl instance\r\nr = pdk.Deck(\r\n    layers=[osm_layer],\r\n    initial_view_state=view_state,\r\n)\r\n\r\n# Define the layout of the Dash app\r\napp.layout = html.Div(\r\n    [\r\n        dash_deck.DeckGL(\r\n            r.to_json(),\r\n            id=\"deck-gl\",\r\n            style={\"height\": \"100vh\"},\r\n        ),\r\n    ]\r\n)\r\n\r\nif __name__ == \"__main__\":\r\n    app.run_server(debug=True)\r\n```","author":{"url":"https://github.com/fhg-isi","@type":"Person","name":"fhg-isi"},"datePublished":"2024-09-20T10:18:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/28/dash-deck/issues/28"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:80a3456b-9402-d588-c0ff-d40041af5fb1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC872:E23DE:4E753:63D56:698D477E
html-safe-nonceb3f6e683b7ef473910a763164c59b244a20c9db1b5eb987aaee0d55645d1bf44
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODcyOkUyM0RFOjRFNzUzOjYzRDU2OjY5OEQ0NzdFIiwidmlzaXRvcl9pZCI6IjE4OTQyMzE2NTkwNzY0NzA2NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb32600761a486593e3d2b877fa6cb3c85b3560345bc63565bb3b286ac9e57f4a
hovercard-subject-tagissue:2538440726
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/dash-deck/28/issue_layout
twitter:imagehttps://opengraph.githubassets.com/daed4b9ec54050c9c5adf0723adcd63d3737e2e5ec0e0a2948834a467b337f49/plotly/dash-deck/issues/28
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/daed4b9ec54050c9c5adf0723adcd63d3737e2e5ec0e0a2948834a467b337f49/plotly/dash-deck/issues/28
og:image:altIs TileLayer like https://deck.gl/docs/api-reference/geo-layers/tile-layer supported by dash-deck? If I run the example below I get a "white screen" and following error: layers-pass.js:96 Uncaught ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefhg-isi
hostnamegithub.com
expected-hostnamegithub.com
Nonec0818105fa276287e9369cfdefa0a0fa7953719791ceff9b94d69623c0a4fe8a
turbo-cache-controlno-preview
go-importgithub.com/plotly/dash-deck git https://github.com/plotly/dash-deck.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id288569889
octolytics-dimension-repository_nwoplotly/dash-deck
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id288569889
octolytics-dimension-repository_network_root_nwoplotly/dash-deck
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebc912d4349851e5f32c76bbb213754e40947d7a6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/plotly/dash-deck/issues/28#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fdash-deck%2Fissues%2F28
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fdash-deck%2Fissues%2F28
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=plotly%2Fdash-deck
Reloadhttps://patch-diff.githubusercontent.com/plotly/dash-deck/issues/28
Reloadhttps://patch-diff.githubusercontent.com/plotly/dash-deck/issues/28
Reloadhttps://patch-diff.githubusercontent.com/plotly/dash-deck/issues/28
plotly https://patch-diff.githubusercontent.com/plotly
dash-deckhttps://patch-diff.githubusercontent.com/plotly/dash-deck
Please reload this pagehttps://patch-diff.githubusercontent.com/plotly/dash-deck/issues/28
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fplotly%2Fdash-deck
Fork 20 https://patch-diff.githubusercontent.com/login?return_to=%2Fplotly%2Fdash-deck
Star 103 https://patch-diff.githubusercontent.com/login?return_to=%2Fplotly%2Fdash-deck
Code https://patch-diff.githubusercontent.com/plotly/dash-deck
Issues 8 https://patch-diff.githubusercontent.com/plotly/dash-deck/issues
Pull requests 0 https://patch-diff.githubusercontent.com/plotly/dash-deck/pulls
Actions https://patch-diff.githubusercontent.com/plotly/dash-deck/actions
Projects 0 https://patch-diff.githubusercontent.com/plotly/dash-deck/projects
Security 0 https://patch-diff.githubusercontent.com/plotly/dash-deck/security
Insights https://patch-diff.githubusercontent.com/plotly/dash-deck/pulse
Code https://patch-diff.githubusercontent.com/plotly/dash-deck
Issues https://patch-diff.githubusercontent.com/plotly/dash-deck/issues
Pull requests https://patch-diff.githubusercontent.com/plotly/dash-deck/pulls
Actions https://patch-diff.githubusercontent.com/plotly/dash-deck/actions
Projects https://patch-diff.githubusercontent.com/plotly/dash-deck/projects
Security https://patch-diff.githubusercontent.com/plotly/dash-deck/security
Insights https://patch-diff.githubusercontent.com/plotly/dash-deck/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/plotly/dash-deck/issues/28
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/plotly/dash-deck/issues/28
How to use TileLayer?https://patch-diff.githubusercontent.com/plotly/dash-deck/issues/28#top
https://github.com/fhg-isi
https://github.com/fhg-isi
fhg-isihttps://github.com/fhg-isi
on Sep 20, 2024https://github.com/plotly/dash-deck/issues/28#issue-2538440726
https://deck.gl/docs/api-reference/geo-layers/tile-layerhttps://deck.gl/docs/api-reference/geo-layers/tile-layer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.