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.
OpenLayers map definitions can get very large, especially when using features on views layers. Pushing this all through drupal_to_js can get very costly -- this patch adds conditional usage of json_encode (PHP 5.2+) when available.
Patched against DRUPAL-6--2, but it's a very isolated change so should be easy to backport against 1.x, 0.x.
Comment | File | Size | Author |
---|---|---|---|
openlayers_json_encode.patch | 940 bytes | yhahn | |
Comments
Comment #1
tmcw CreditAttribution: tmcw commentedPatched in 2.x and 0.x.
Comment #2
tmcw CreditAttribution: tmcw commentedClosed / fixed.