Coder Social home page Coder Social logo

mapview for inherited classes about mapview HOT 4 CLOSED

bart1 avatar bart1 commented on August 16, 2024
mapview for inherited classes

from mapview.

Comments (4)

bart1 avatar bart1 commented on August 16, 2024 1

@edzer thank you for the hint, I already had set setOldClass("move2") that did not do the trick but diving a bit deeper into it if I set setOldClass(c("move2","sf")) that seems to work. I will check that is does not have unintended consequences but that seems quite a general solution to make many sf methods work.

from mapview.

bart1 avatar bart1 commented on August 16, 2024

Now thinking a bit more about it maybe a ANY methods can be used to dispatch to inherited classes?

from mapview.

tim-salabim avatar tim-salabim commented on August 16, 2024

Could the method be defined in move2?

from mapview.

edzer avatar edzer commented on August 16, 2024

mapview dispatches to mapView which has methods for classes. As it uses S4, S3 classes need to be declared as such. Did you set setOldClass("move2") in the packages?

from mapview.

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.