Skip to content
Snippets Groups Projects
Commit c1b3aba5 authored by Brandon Bergren's avatar Brandon Bergren
Browse files

Copy the string based map opts over. This will allow setting the draggable...

Copy the string based map opts over. This will allow setting the draggable cursor at the map level, etc.
parent b38752b0
No related branches found
No related tags found
No related merge requests found
......@@ -277,6 +277,15 @@ Drupal.gmap.addHandler('gmap', function (elem) {
opts.mapTypeNames.push('Physical');
}
if (obj.vars.draggableCursor) {
opts.draggableCursor = obj.vars.draggableCursor;
}
if (obj.vars.draggingCursor) {
opts.draggingCursor = obj.vars.draggingCursor;
}
if (obj.vars.backgroundColor) {
opts.backgroundColor = obj.vars.backgroundColor;
}
});
obj.bind("boot", function () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment