leaflet-vector-layers icon indicating copy to clipboard operation
leaflet-vector-layers copied to clipboard

Race condition possibility when using esriOptions: true

Open Ariki opened this issue 12 years ago • 0 comments

When creating lvector.AGS with esriOptions: true, it starts an asynchronous AJAX query for layer options. If I call setMap() immediately after layer creation code, it causes _show() call on a partially initialized layer. This doesn't occur if I pass the map as an option when creating a layer but such behavior seems to be unclear.

Ariki avatar Dec 28 '12 18:12 Ariki