Code Monkey home page Code Monkey logo

Comments (2)

javidhsueh avatar javidhsueh commented on May 2, 2024

Three problems with centering the map:

  • In composer.js, line 82 tries to extract the NEW layers and calculate bound from NEW layers

    => when updating the data but layers stay the same, the bound of the map won’t get updated

screen shot 2018-06-21 at 2 48 57 pm

  • In data-utils.js, line 79 to 81 seems redundant since we’ve extracted the NEW layers in the previous step.
    
=> is it necessary to find the new layers again?

    => the second parameter of the function ‘dataID’ seems always undefined or maybe used somewhere.

  • In data-utils.js line 90 to 99 only try to find the first available layer has meta.bound

    => we should consider ALL the layers for the calculation of the bound

screen shot 2018-06-21 at 2 51 29 pm

from kepler.gl.

danielstuart14 avatar danielstuart14 commented on May 2, 2024

Problem persists when using save_to_html or repr_html

from kepler.gl.

Related Issues (20)

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.