Questions tagged [async]

async is a shortened version of asynchronous.

Filter by
Sorted by
Tagged with
0
votes
0answers
39 views

Establishing a Sequence of Asynchronous Events in a Google Earth Engine App

I am currently writing a tool in Google Earth Engine that is comparable to ESRI's Weighted Overlay As of now, the user can interactively reclassify and weight each raster layer. Ultimately they will ...
1
vote
1answer
37 views

Wait for the processing of geometries to be finished in OpenLayer.js

I need to transform an array of geometries to vector Layers in OpenLayers. Here is a simple snippet of initial code: var inputFeatureArray = [geom1, geom2, geom3, geom4, ...] // I need to populate a ...
0
votes
1answer
203 views

Adding to featureGroup asynchronously

I've run into this problem with Leaflet Map. I am trying to loop over some addresses, make a call for each loop to get the lat-long, plot on mymap, and group the markers to bound them using fitBounds ...
2
votes
2answers
212 views

Reasons to use plain synchronous .getInfo() in GEE

When querying information from EE servers it is advised to use asynchronous callbacks, e.g. .evaluate() or .getInfo(callback). So the question is: are there any reasons to use plain synchronous ....
4
votes
2answers
472 views

Performing (sync or async) network request in PyQGIS

Following a question on the mailing list about what is the best way to perform network requests in PyQGIS both blocking and non-blocking and with or without support for authentication (QGIS' authcfg)? ...
3
votes
2answers
186 views

Understanding Promises in JavaScript?

I have been using JavaScript for about a year and a half now, but I still have a fundamental misunderstanding of Promises and can never get them to work. Can someone tell me what is wrong with this ...
8
votes
2answers
1k views

Capture click while drawing a LineString in openlayers and query GeoServer WMS

While drawing a LineString in OpenLayers version 4.6.5, I would like to hook into the clicking of each point, and make an ajax call to a backend WMS service (geoserver). If a Feature on the Tile ...
1
vote
0answers
148 views

Async Databinding using ArcGIS Pro SDK and MVVM?

How can we bind data to datagrid (In dockpane) using Async programing in ArcGIS Pro SDk and MVVM as one of my process will take lot of time. Please let me know if you can have any ideas or samples.
0
votes
1answer
2k views

leaflet: javascript scope issue within geojson onEachFeature function

I'm new to javascript and even newer to Leaflet (version 0.7.7), so I'm having difficulty determining how to ask this question. With leaflet, when I click on a polygon, an ajax request is made, it ...
1
vote
0answers
1k views

OpenLayers3 creating large GeoJSON layers off the main thread [closed]

I am pretty new to this field and struggling to find out whether my idea is worth pursuing further. The problem I am facing is that I have to load a couple of large GeoJSON layers into my OpenLayers ...
1
vote
1answer
879 views

How to load POI based on map movements?

I'm currently creating a new website based on geo-localised informations, which is quite new to me. I need to display my points of interest according to where the map is, and where the user make it ...
3
votes
3answers
4k views

Executing async method inside relaycommand using ArcGIS Pro SDK and MVVM?

I'm developing a "search tool" dockpane in the ArcGIS Pro SDK using MVVM. I have a button on my dockpane hooked up to a relaycommand in my viewmodel, which trys to call an async method in my model to ...