Skip to content

Request and plot the positions into the current map view every 10 second

Request and plot the positions into the current map view every 10 second

ref:

Comment leif 2.4.2015
  • Refresh positions when zoom is changed or map view is slided (catch some event and re-read positions form server)
Function

Retrieve list of current positions within current map boundary each 10 second and update map

Solution
  • Service query with map boundary (map area) as parameter. (Longitude, latitude and current zoom factor)
  • Deliver back position list for each drone with the area
  • When click on position, show drone information (id,name, speed, position, altitude)
Issues
  • Size of map view. Only show individual drone positions when map view is less the 10km in size. If bigger, use the summarized positions

Solve with a java script loop on page