Skip to content

Commit

Permalink
Allow svg paths as icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradley Cornford committed Apr 19, 2017
1 parent 3ea9883 commit bed7ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/marker.blade.php
Expand Up @@ -40,7 +40,7 @@
scale: {!! $options['scale'] !!}
}
@else
icon: '{!! $options['icon'] !!}'
icon: {!! json_encode((is_array($options['icon']) ? (array) $options['icon'] : (string) $options['icon'])) !!}
@endif
});

Expand Down

0 comments on commit bed7ac9

Please sign in to comment.