You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 16, 2019. It is now read-only.
I have noticed a issue if the css selector '*' have box-sizing: border-box :
This is due to the properties of height and padding-top. With the default value of box-sizing (content-box), the height and padding-top/bottom are added, so the expected height of icons is well. But with the value border-box the height icons rendered is only get by the height property (so the icons was cut).
I suggest to add this line to overwrite the property in markerclusterer.js in order to have the expected render :
ClusterIcon.prototype.createCss = function(pos) {
var style = [];
var markerClusterer = this.cluster_.getMarkerClusterer();
if (!markerClusterer.cssClass_) {
style.push('box-sizing:content-box;');
style.push('background-image:url(' + this.url_ + ');');
...
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have noticed a issue if the css selector '*' have box-sizing: border-box :
This is due to the properties of height and padding-top. With the default value of box-sizing (content-box), the height and padding-top/bottom are added, so the expected height of icons is well. But with the value border-box the height icons rendered is only get by the height property (so the icons was cut).
I suggest to add this line to overwrite the property in markerclusterer.js in order to have the expected render :
The text was updated successfully, but these errors were encountered: