What you need: for the first and last placemark display your icons.

Options:

  1. The coordinates of the first and last placemark are different. In this case, there is no problem, the necessary icons are displayed.
  2. The coordinates of the first and last placemark match. In this case, the individual icons of the first and last are replaced by one common, prescribed for cluster labels.

Question: Is it possible to prohibit the creation of combined (cluster) labels, if the labels included in it are the first and last labels of the cluster? Api Yandex Maps - 2.1.47.

  • one
    Why do you add labels ("first" and "last") to the clusteriser, if you do not want them to be grouped in a cluster? - flapenguin

1 answer 1

Perhaps your case will be helped by the standard property of the clusterizer (and ObjectManeger) maxZoom. If you set it, objects on the zoom larger than the maximum will never be clustered.