Coder Social home page Coder Social logo

Comments (2)

jslatts avatar jslatts commented on August 16, 2024

Hey David,

  1. Are you referring to the markers themselves or the pop ups that are activated on mouse over? If you want to add the number to the pop up, take a look at src/Context.jsx. It would be pretty straightforward to add a prop for the annotation "number" and display it.

If you want to add this number to the indicator (pin, circle, square, etc) then it might make the most sense to create a custom indicator (depending on your specific needs).

  1. Again, are we referring to the pop ups or the indicator rectangle? If the latter, then I think the direction of adding additional indicator types (variations of the square) would make the most sense. If the patterns can be made with CSS, then you could re-use the existing square and just add different CSS classes.

Let me know if any of that makes sense. I would be happy to accept pull requests if you can keep the changes optional for existing users.

from carbondream.

jslatts avatar jslatts commented on August 16, 2024

Closing issues older than 1 year.

from carbondream.

Related Issues (8)

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.