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.

"loading" as an attribute of TileLayer?

See original GitHub issue

Hi all,

the new show_loading attribute added recently to the TileLayer class shows an animation each time any tile is loading, it is fine, but wouldn’t it be better if a loading property (read only attribute) is set to True each time any tile is loading? Therefore we could make use of it our own way.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:22 (22 by maintainers)

github_iconTop GitHub Comments

1reaction
fitoprincipecommented, Jan 9, 2020

Thank you @martinRenou! I hope I can keep contributing =)

1reaction
fitoprincipecommented, Jan 7, 2020

Hi @martinRenou, I tried to make a separate widget that shows a red bar when loading tiles and a green bar when all tiles are loaded, but when you move, new tiles load but I need to “catch” this so I can make the bar red again. I though of using the map’s events, but then I though it would be better to just have a loading attribute.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TileLayer | ArcGIS Maps SDK for JavaScript 4.25
The TileLayer allows you work with a cached map service exposed by the ArcGIS Server REST API and add it to a Map...
Read more >
Tile Layer is crashing the Attribute Table widget
Tile Layer is crashing the Attribute Table widget in Web AppBuilder App. We recently got a serious issue, when a web map with...
Read more >
ol/layer/Tile~TileLayer - OpenLayers
ol/layer/Tile~TileLayer. import TileLayer from 'ol/layer/Tile.js'; ... Load low-resolution tiles up to preload levels. ... Unsets a property.
Read more >
Tile Layer — ipyleaflet documentation
Creating a TileLayer is straightforward, a dictionary containing basic tile ... the tiles on all zoom levels higher than max_native_zoom will be loaded...
Read more >
TileLayer - deck.gl
To use this layer, the data must be sliced into "tiles". Each tile has a pre-defined bounding box and level of detail. Users...
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