Closed ryanhamley closed 6 years ago
@ryanhamley Thank you for contributing. I'll look at this in the weekend!
@ryanhamley Making build succeed with #52 (develop build 44). Feel super welcome filing more pull requests if you find anything else missing. Going to be working on performance improvements in Firefox tomorrow, also scheduled for 1.6.0 release.
This change implements a fix for https://github.com/mblomdahl/mapbox-gl-circle/issues/50 by allowing the user to pass a layer id
<String>
as the second argument to theaddTo
method. Leaving out this argument will append the layer to the end of the layers array; otherwise, the circle will appear directly before the layer specified in the argument.