question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Documentation on adding tile layers

See original GitHub issue

Is there any documentation on how to add a tile layer to the map?

have tried

M.add_layer("layername","http://tiles{0-3}.basemap.com/url/{z}/{x}/{y}.png")

But it looks like the layer that gets added is requesting: http://localhost:8888/notebooks/notebooks/null/9/8/4.png etc

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:27 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mantheycommented, Jun 22, 2017

I’m extending what we accept as subdomain template strings in geojs, and should have a PR there shortly. Currently, if you use the vis_params={layer_type: "osm"} and a string with a fixed subdomain (e.g., vis_url="http://tiles0.basemap.com/url/{z}/{x}/{y}.png"), I believe it will work right now. The templated ranges will be supported once the PR is merged in geojs and we update the geojs version in geonotebook.

0reactions
jbeezleycommented, Jul 12, 2017

Great! I forgot that pip will refuse to upgrade if there wasn’t a version change.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tile layers—ArcGIS Online Help | Documentation
Tile layers are web-accessible tiles that reside on a server. ... You can add vector tile layers as operational layers or basemaps to...
Read more >
Working with Layers — Tiled 1.9.2 documentation
Tile layers provide an efficient way of storing a large area filled with tile data. The data is a simple array of tile...
Read more >
Publish hosted vector tile layers—Portal for ArcGIS
Publish vector tile layers from ArcGIS Pro, or create a vector tile package in ArcGIS Pro and upload the package to your portal...
Read more >
azure-docs/power-bi-visual-add-tile-layer.md at main - GitHub
Tile layers allow you to superimpose images on top of the Azure Maps base map tiles. This is a great way to overlay...
Read more >
Tile Layer — ipyleaflet documentation
Creating a TileLayer is straightforward, a dictionary containing basic tile layers is provided. This dictionary is named basemaps .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found