Has anyone encountered an issue with a map component where two devices share the exact same coordinates (longitude and latitude), causing their markers to overlap and making it impossible to see both devices? If so, has anyone discovered a solution to this problem?
Hi Curtis,
The use case that you describe is a common one. For example, on HFC deployments, we normally display in a map the geographical location of cable modems. It could be the case that a subscriber can have more than one cable modem. In that case, both cable modems will have the same geographical coordinates. The workaround will depend on your requirements:
- In the example above, rather than displaying the location of the cable modems, we could display the location of the subscriber. When selecting the marker, you can display in a pop-up more details about the cable modems assigned to the subscriber.
- It could be the case that the devices assigned to the subscriber are from a different type. In this case, you could filter the markers based on the type.
P.S. For these use cases we use DataMiner Maps
Hope it helps.
Hi Curtis,
This is indeed a flaw of the current way the markers on the maps component are represented. To work around this issue you could adapt the data source to only return 1 row that represents both devices at once. A different way to solve this would be to slightly change their coordinates so they no longer overlap when zoomed in far enough.