GithubHelp home page GithubHelp logo

Comments (9)

springmeyer avatar springmeyer commented on May 29, 2024

Not sure why this is happening. Just a wild guess: you are setting the bbox parameter rather than the center? /cc @camilleanne

from abaculus.

Mariusio avatar Mariusio commented on May 29, 2024

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.

Mariusio avatar Mariusio commented on May 29, 2024

I can also upload a complete repo with reproduction steps if that helps?

from abaculus.

Mariusio avatar Mariusio commented on May 29, 2024

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.

samwillis avatar samwillis commented on May 29, 2024

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.

raphsibille avatar raphsibille commented on May 29, 2024

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.

jingsam avatar jingsam commented on May 29, 2024

@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.

Mariusio avatar Mariusio commented on May 29, 2024

@jingsam Thanks for pointing that out. I guess then this issue can be closed.

from abaculus.

raphsibille avatar raphsibille commented on May 29, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.