Hi,
I would like to know if there is a way to show a marker when a cluster element is made of a single data point? of course on the same view we could have cluster group with more than one element too.
Thanks!
Hi,
I would like to know if there is a way to show a marker when a cluster element is made of a single data point? of course on the same view we could have cluster group with more than one element too.
Thanks!
Jean Marie,
I am not exactely sure what you are refering to. In the Code Community, we have a sample code that shows how to create a Cluster Pointstyle. wiki.thinkgeo.com/wiki/Map_Suite_We...PointStyle. Is that near what you are looking for? If not, can you give some more detailed explanations of what you need? Thank you.
When using the cluster type you can see the number of datapoints within a cluster and that is fine but when there is multiple clusters they can clusturized from 1 to x datapoints then my question is when a cluster is made of a single datapoint how can I surface more information about the data point involved inside this cluster?
Some clusters are made of a single data point then what should I do to show another icons or to surface information when overing above?
Hi Jean-marie,
Did you use the default ClusterPointStyle in web edition or the class included in the sample Val provided?
Regards,
Don
Jean Marie,
If I understand correctly, the ClusterPointStyle included in the provided sample code completes your needs except for the case where there is only one point being cluster. In that case, you want to have an extra symbol on top and/or have some label from some column appearing when hovering over. For doing that, the current ClusterPointStyle would have to be modified to include that logic. We can write a little sample for you with that special ClusterPointStyle but before doing that, we would need to understand better your needs. Can you describe a little more to us what you have in mind and explain to us with a concrete example how you expect the ClusterPointStyle to behave? Thank you.
Hi,
Yes! I need to be able to surface information when a cluster is made of a single data point, in the same way that we can surface information with a marker. It could be also very interesting to surface information from a cluster made of multiple data points (e.g. group by sales $$$$ and then see how rich or poor are the sales within a cluster…). For now surfacing information when only a single data point will be more than enough to help us.
thanks a lot!
jm
Jean Marie,
I am not the Web expert, so will ask for some help from the Web team to have a little sample that wil ldo what you described. That is having information surfacing on a single point data when the user hovers it. In the meantime, I suggest you take a look at the sample from VS2010 or VS2008 samples for SetTheHoverPopupOfAMarker. This sample show how a label can pop up when the user hover over a marker which is part of you are asking. Thank you.
I do not ask about MARKER I ask about ClusterStyle and the possibility to surface information when having a cluster showing a single data point.
thanks.
Jean Marie,
I talked to one guy of the web team and he told me that for what you are trying to accomplish you would need to use both the ClusterPointStyle and an InMemoryMarkerOverlay. For the InMemoryMakerOverlay, you will add the features for the single point features of the ClusterPointStyle and add the Popup logic to it without the WebImage. So, the functionality that you described is possible by combining both the ClusterPointStyle and the InMemoryMarkerOverlay. Thank you.