Comments (2)
Hey David,
- 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).
- 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.
Closing issues older than 1 year.
from carbondream.
Related Issues (8)
- online demo please :)? HOT 1
- Documentation or reference to use this tool in React app HOT 1
- Does not properly handle page scrolling
- Support scrollable pages HOT 1
- Blocky arrows on bubbles in Safari HOT 1
- Swap Save and Cancel buttons on annotation form to match Candid standard HOT 1
- '$' is not recognized as an internal or external command, HOT 2
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 carbondream.