-
Notifications
You must be signed in to change notification settings - Fork 27
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
BalloonStyle not supported #13
Comments
Hi bugfindr, If you are interested in seeing new features supported I kindly suggest you start studying the library code and propose your own solutions (here you can see a simple example on how to extend it). In order to disable the default balloons you can also use the following options: var kmz = L.kmzLayer(null, {
ballon: false, // disable default popup and tooltip.
// bindPopup: false,
// bindTooltip: false,
geometryToLayer: function(data, xml) {
let layer = this._geometryToLayer(data, xml);
let el = xml.getElementsByTagName('BalloonStyle');
layer.eachLayer( function(l) { /* you can bind your own ballon here */ } );
return layer;
}
}); More info: Happy coding, |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@Raruto Can you please add code to support to BalloonStyle tag? :)
The text was updated successfully, but these errors were encountered: