googlemaps / v3-utility-library

Utility libraries for Google Maps JavaScript API v3
Apache License 2.0
1.1k stars 1.3k forks source link

can we use more than 5 different images in markerclusterplus? if yes max how many images we can use please suggest me #631

Closed ashokch8 closed 4 years ago

ashokch8 commented 4 years ago

Thanks for stopping by to let us know something could be better!


PLEASE READ

If you have a support contract with Google, please create an issue in the support console. This will ensure a timely response.

Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform support resources page.

If your bug or feature request is not related to this particular library, please visit the Google Maps Platform issue trackers.

Check for answers on StackOverflow with the google-maps tag.


Please be sure to include as much information as possible:

Environment details

  1. Specify the API at the beginning of the title (for example, "Places: ...")
  2. OS type and version
  3. Library version and other environment information

Steps to reproduce

  1. ?

Code example

# example

Stack trace

# example

Following these steps will guarantee the quickest resolution possible.

Thanks!

jpoehnelt commented 4 years ago

There is no specific value. You can pass in as many as you want for the styles option.

ashokch8 commented 4 years ago

Can we change the images based on count multiple of 10?

jpoehnelt commented 4 years ago

Yes, you can provide a calculator function.

The function used to determine the text to be displayed on a cluster marker and the index indicating which style to use for the cluster marker. The input parameters for the function are (1) the array of markers represented by a cluster marker and (2) the number of cluster icon styles.

emphasis mine

jpoehnelt commented 4 years ago

Closing for now as there is no action item here.