Orange-OpenSource / Orange-OpenSource/IOT-Map-Component
Go back to the previous state after having clicked outside the popup of a markercluster group marker
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 24
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Would it be possible to go back to the previous state (see the 3 markers in the markercluster group) after having clicked outside the marker's popup?

Goal: go back to

Simulated in local mode (to have the latest version of IoT Map Component) with the following Knobs > markersList data:
{
"id": "s1",
"location": {
"lat": 44.895,
"lng": 4.87
},
"template": "square",
"status": "warning",
"tab": {
"content": "H",
"type": 0
},
"shape": {
"type": 1,
"anchored": true,
"plain": false,
"color": "#FFCC00"
},
"layer": "default",
"inner": {
"color": "black"
},
"popup": {
"title": "title",
"body": "Lorem ipsum"
}
},
{
"id": "s1000",
"location": {
"lat": 44.895,
"lng": 4.87
},
"template": "square",
"status": "warning",
"tab": {
"content": "H",
"type": 0
},
"shape": {
"type": 1,
"anchored": true,
"plain": false,
"color": "#FFCC00"
},
"layer": "default",
"inner": {
"color": "black"
},
"popup": {
"title": "title",
"body": "Lorem ipsum"
}
},
{
"id": "s2000",
"location": {
"lat": 44.895,
"lng": 4.87
},
"template": "square",
"status": "warning",
"tab": {
"content": "H",
"type": 0
},
"shape": {
"type": 1,
"anchored": true,
"plain": false,
"color": "#FFCC00"
},
"layer": "default",
"inner": {
"color": "black"
}
},
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior with the provided markersList data in local mode using the Knobs setup, then trace the markercluster group marker and popup outside-click handling. Done means closing or clicking outside the popup restores the previous view showing the three markers in the cluster.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100