Questions tagged [async]

async is a shortened version of asynchronous.

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

Using async condition callback with the select interaction?

The select interaction allows us to pass in a condition callback that is supposed to return a boolean indicating to Open Layers wether or not a specific event should be considered for the interaction ...
3
votes
2answers
119 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 ...
7
votes
2answers
357 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
103 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
864 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
795 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
719 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 ...