From ae82273d20d2da76ffe9a0f391827e9dd007207c Mon Sep 17 00:00:00 2001 From: Brandon Bergren <bdragon@rtk0.net> Date: Sat, 3 Jul 2010 00:35:46 +0000 Subject: [PATCH] Pass along params. (cherry picked from commit 9a79fc758f8a7f9d5b692d725722abfe2c98997f) --- js/gmap_shapes.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/gmap_shapes.js b/js/gmap_shapes.js index 8572024..5665265 100644 --- a/js/gmap_shapes.js +++ b/js/gmap_shapes.js @@ -89,6 +89,9 @@ Drupal.gmap.addHandler('gmap', function (elem) { $.each(style, function (i, n) { cargs.push(n); }); + if (shape.opts) { + cargs.push(shape.opts); + } var Pg = function (args) { GPolygon.apply(this, args); }; -- GitLab