Billy Newman

Results 45 issues of Billy Newman

Would be helpful to be able to cancel a drag event and snap the vertex back to its location before the drag started.

My UI allows for lat/lng's to be changed programatically. When that happens I need to move the vertex and update the layer. I have tried this: ``` layer.setLatLngs(geojson); layer.editor.reset(); ```...

### Description: When launching an OAuth authentication page, the view is blank. ![Screen Shot 2021-02-08 at 9 32 26 AM](https://user-images.githubusercontent.com/3382274/107249431-98b50600-69f0-11eb-8aea-ed8faaacccd4.png) Fired up an emulator and seeing this in the console,...

Took a stab at fixing scrolling. Inspiration directly from how leaflet layer control handles scrolling.

When parsing an invalid file I have to wrap in a try/catch block. ``` try { const document = new DOMParser().parseFromString(data); } catch (err) { // Parse error } ```...

documentation
spec:no standard

``` const query = Model.find(conditions, fields, options); if (someCondition) { query.populate('someField) } query.exec(callback); ``` Trying to test populate is called ``` sinon.mock(Model) .expects('find') .chain('populate).withArgs('someField') .chain('exec') .yields(null, { foo: 'bar' });...

Examples are stubbing out the entire mongoose model and seem to be preventing middleware from being called. Is it possible to test mongoose middleware while mocking? ```js SomeSchema.pre('save', function(next) {...

question

Cannot seem to get this to work: ``` sandbox.mock(Model) .expects('find') .twice() .onFirstCall() .yields(null, []) .onSecondCall() .chain('populate') .chain('exec') .yields(null, []); ```

http://geoscript.org/js/download.html file not found

For a standard GoogleMap TileOverlay you can call` tileOverlay.clearTileCache()`. Not sure how to invalidate and force compose TileOverylay to redraw tiles. Using: ``` GoogleMap(...) { ... // Add tile overlay...

type: bug
triage me