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.

Scale/Translate TileLayer

See original GitHub issue

Target Use case

Much like you can scale/translate a BitmapLayer by affecting its bounds, it would be cool to do the same to the TileLayer. The hairy part would be the interplay between the Viewport and tile fetching but I think it could be possible. Is this something we’d be interested in supporting? @kylebarron I would be happy to work on this PR (and make sure it’s even possible).

Proposed feature

Add scale and translate parameters to the TileLayer to allow for uniform transformations to the layer and and underlying tiles.

To Do List

  • Add label and assign to milestone
  • Coding
  • Doc update
  • What’s new update
  • Test

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17

github_iconTop GitHub Comments

1reaction
Pessimistresscommented, Nov 12, 2020

@ilan-gold Published 8.4.0-alpha.2

0reactions
ilan-goldcommented, Nov 12, 2020

Thanks so much!!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Class: TileLayer - maptalks
TileLayer. A layer used to display tiled map services, such as google maps, open street maps. new TileLayer( ...
Read more >
5609255 - bl.ocks.org
... tiles.translate)) .call(tileLayer, tiles) } function tileLayer(selection, ... zoom.scale())); } function matrix3d(scale, translate) { var k = scale ...
Read more >
geojson FeatureCollection TypeScript Examples
WMS: return new TileLayer({ source: new TileWMS({ url: layerModel.url, ... projection = geoOrthographic().scale(scale).translate([cx, cy]).rotate([rotation, ...
Read more >
Scale (Geotools modules 29-SNAPSHOT API)
This operation is simply a wrapper for the JAI scale operation which allows me to arbitrarily scale and translate a rendered image. Since:...
Read more >
// everyblock.js eb.TileLayer = OpenLayers.Class ... - SlideShare
everyblock.js eb.TileLayer = OpenLayers.Class(OpenLayers.Layer.TMS, { version: null, // see eb.TILE_VERSION layername: null, // lower-cased: ...
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