Comments (5)
Yes, I confirm, currently this is not supported.
from rlayers.
@mmomtchev so, how i can use RPopup inside RLayerCluster?
from rlayers.
The problem is that individual features in a cluster layer might not be visible. You will have to attach your popup to the super-feature and there are lots of special cases to handle. Is this what you want, attach your popup to the cluster?
from rlayers.
I want to attach one type of popups to super-feature(is superfeature cluster of features?) and attach another popups to features. I've tried, but trigger doesn't work
from rlayers.
If you attach an onClick
handler to the cluster layer itself, it should get called when clicking on clusters. However will be passed the super-feature, not individual features.
Being able to call the onClick
handler of individual features is probably useful and I will consider adding it.
However popups will be more difficult as these will have to be merged.
from rlayers.
Related Issues (20)
- Is it possible to have a layer attribution collapsed by default to his button form? HOT 2
- How to be notified when RLayerVector fail to load GeoJSONs? HOT 1
- ReactDOM.render is no longer supported in React 18. HOT 1
- RLayerWMTS refresh is dysfunctional HOT 6
- How to load GeoTIFF? HOT 2
- Cannot change extent after map init HOT 3
- Visible property is not handled in the RLayerWMTS component
- New feature: collapsible and collapsed props for RControl.RCustom
- How to get geometry from Interaction draw HOT 5
- getGeometry.getCoordinates has no parameters HOT 1
- Missing crossOrigin property in the RLayerTileWMS component HOT 2
- Gesture overlay and handling HOT 3
- Performance issues with RDraw HOT 4
- Support for tailwindcss? HOT 3
- Uncaught DOMException when removing an `ROverlay` HOT 1
- Change RCircle radius when zoom changes HOT 1
- How to add KML as layer vector HOT 1
- Remove last point event RDraw
- Typescript error cannot use Component as a JSX Component HOT 4
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 rlayers.