Steve Bennett

Results 224 comments of Steve Bennett

Just came here to request this. Instead of `$.verbose` there should be a separate `$.echo` (print commands as they are run) and `$.quiet` (don't show output).

I'd also like to echo the call for some sync methods. One of the situations where it would have been useful is in a module which does a tiny bit...

My branch is at https://github.com/stevage/mapbox-gl-draw/blob/snapping/src/snapping.js I've put most of the snapping code in this single module, snapping.js. I haven't fully grokked the paradigm of the whole library, so it will...

>One point I've noticed trying this - this blows out the side of the standalone library from ~110KB to 600KB. Oh yeah, because it was still just proof of concept...

Sure, good idea. I've done some more work which I haven't pushed yet, too. I realised that the library has to be able to snap to layers that didn't exist...

@daniel-fschr You shouldn't need the `onMouseMove` event. But in any case, this PR is not really complete enough for me to be providing support - you might just need to...

@amelielecoz Sorry, not quite sure what you mean by "the going or coming line"? Can you spell it out a bit more?

Ok, I understand what you mean. I'm not sure I can think of an easy way of supporting that?

Ah, I wondered what the `static` stuff was about since it's not documented.

The bug is that the library is taking a floating point number, using `toFixed()` to convert it to a rounded number in string form, then immediately converting back into a...