Skip to content
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

Add custom renderer to marker clustering #104

Merged
merged 3 commits into from
Sep 21, 2023
Merged

Add custom renderer to marker clustering #104

merged 3 commits into from
Sep 21, 2023

Conversation

paodb
Copy link
Member

@paodb paodb commented Sep 21, 2023

Close #103


/**
* Sets the custom renderer definition to be applied to the markers clustering. The custom
* renderer needs to be define as a global JavaScript function that has "render" as its name.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's actually a JS object conforming the Renderer interface from https://github.com/googlemaps/js-markerclusterer/blob/5ac92567dd0c52a1e1b897d791463a064656830c/src/renderer.ts#L65C2-L65C78

Grammar: be defined

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@sonarcloud
Copy link

sonarcloud bot commented Sep 21, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@javier-godoy javier-godoy merged commit 712be9a into master Sep 21, 2023
5 checks passed
@javier-godoy javier-godoy deleted the issue-103 branch September 21, 2023 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a custom renderer for markers clustering
2 participants