M
M
megaby2018-03-23 08:52:42
OpenLayers
megaby, 2018-03-23 08:52:42

Dynamic loading of markers in the visible area of ​​the map when it is moved in Openlayers?

I use Openlayers to work with OSM maps. The marker data is stored in the database. How to implement data loading (AJAX) based on the visible area of ​​the map. Those. how to specifically define this visible area itself and how to work with it to form a query to the database?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2018-03-23
@freeExec

There is such a concept of Bounds - coverage area, so dig in the direction of this property on the map.

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question