Comments (9)
Not sure why this is happening. Just a wild guess: you are setting the bbox
parameter rather than the center? /cc @camilleanne
from abaculus.
It happens for bbox and center. Also happens if I use the function for getTile that is described in the "we need an example" issue.
from abaculus.
I can also upload a complete repo with reproduction steps if that helps?
from abaculus.
This issue can easily be reproduced by changing this https://github.com/mapbox/abaculus/blob/master/test/test.js#L163 from 1 to 2, running the tests and reviewing the created image.
from abaculus.
I'm experiencing the same problem, it seems to be a regression introduced in version 2 when using bbox (I haven't tried center).
An interesting thing to note. If you render an image of the UK at scale 1 it works, when I change it to 2 the map moves to New Zealand... which is almost exactly 180deg out. Could it be that something odd is happening when the cords are calculated?
Also, if you slowly increment the scale from 1 to 2, say 1.1, 1.2 etc. the map will step across the earth in a south easterly direction until it lands on NZ at scale 2.
from abaculus.
I'm having the same issue too. I've tried a bunch of different settings and map sources. All work fine except when either scale or tilesize is changed from 1 or 256 respectively.
from abaculus.
@Maarius When you set scale = 2, abaculus expects the size of tiles should be 512. However, your tilejson always request tiles with the size of 256.
from abaculus.
@jingsam Thanks for pointing that out. I guess then this issue can be closed.
from abaculus.
@Maarius has this been closed because this issue has been resolved? How do I increase scale without the render errors? @jingsam do I need to make changes to tilejson?
from abaculus.
Related Issues (18)
- Util functions that are faux async
- Basic example? HOT 3
- allow user to specify base tilesize HOT 14
- npm release please! HOT 2
- Accept bounds in array format HOT 3
- There is no LICENSE for abaculus
- Support non 256 tile sizes HOT 1
- vector.pbf blending
- coordsFromBbox enlarge width and height twice HOT 2
- What does zoomTo mean๏ผ
- Remove .DS_Store files
- Issue with scale - changing it produces a grid effect HOT 3
- npm issues a warning about `sphericalmercator` moved under `@mapbox` HOT 1
- Place markers HOT 2
- Fails to build for Node v10.14.1
- New v0.0.4 tag? HOT 5
- what does 'limit' measure HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abaculus.