missioncommand / emp3-web

Extensible Map Platform (EMP) web development kit
Other
19 stars 9 forks source link

Map distance thresholds for rendering optimization for Leaflet do not match Cesium and Worldwind #301

Open sjpinizzotto opened 7 years ago

sjpinizzotto commented 7 years ago

The scale upon which the distance thresholds are at in Leaflet greatly differ from that of Cesium and Worldwind. Fix so that they match, or closely match Cesium and Worldwind settings.

alberto-acevedo commented 7 years ago

The zooming in Leaflet is more drastic than in WW and cesium. i multiplied the thresholds mid and far by a factor to match the optimizations.

Test case:

Use branch 301 Use Leaflet. Add mil std points on the map with modifiers. Zoom in and out until you see the icon optoimization is action. Do the same with Cesium. The test is a success if the optimization (in relation to altitudes) between Leaflet and Cesium match.