-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no icon generator #24
Comments
There is an icon generator protocol and a default implementation GMUDefaultClusterIconGenerator. You can see if the default implementation help with your use cases or provide a custom implementation. The icon generator is passed into the GMUDefaultClusterRenderer initWithMapView method. Hope it helps. |
@mountainvat yeah, but it would be an interesting helper function if there is an equivalent of IconGenerator for single markers with same features and shape. |
FYI: if you wanted to customize single markers please take a look at this issue thread: |
@mountainvat yeah, but still we need to provide the custom UIImage rt? I was looking for some helper which will create the UIImage from the text provided as in the map utils for android. |
Yes you would have to generate the image yourself. What you can do is look at the GMUDefaultClusterIconGenerator to see how images are generated from text? For better performance, please remember to cache the generated image(s) if there are only a handful of them. |
there is no icon generator for ios, but it exists for android which is a huge help.Please include an icon generator for ios
The text was updated successfully, but these errors were encountered: