Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Automatic scaling GMap to display all markers not working.
This is due to the fact that the map render occurs after attachment behaviors that prejudice the application settings for the map.
Comment | File | Size | Author |
---|---|---|---|
#1 | openlayers-fix-attach-behaviors-1914928-01.patch | 826 bytes | validoll |
Comments
Comment #1
validollThis patch fix it.
Comment #2
validollComment #3
validollComment #4
PolHello Validoll,
This is something I'm currently looking. I think the best way to fix in a good way, which means, globally, for all kind of layers, is by using OpenLayers Strategies, but that will be for later :-)
I think your patch will fix your problem, but will break the ZoomToLayer behavior for KML and probably some other stuff.
I will put this "on hold" until we find a better way to fix this.
Comment #5
validollThanks Pol!
I do not use KML, and this is really a solution for me.
I will wait for your solutions.