Mass line thinning drawing method applied to mobile terminal map

The invention discloses a mass line thinning drawing method applied to a mobile terminal map, which comprises the following steps of: obtaining mass line data, and storing the mass line data into a set X; performing priority ranking on the set X; calculating the maximum displayable broken line numbe...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHAI ZEZHAO, YIN HAOXIANG, LI LINLIN, ZHAO HONGMING, YANG QIZE, CHEN XINGJIAN, XU CHANG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a mass line thinning drawing method applied to a mobile terminal map, which comprises the following steps of: obtaining mass line data, and storing the mass line data into a set X; performing priority ranking on the set X; calculating the maximum displayable broken line number Max of the map; thinning a large number of threads; drawing broken lines in the set P in real time; and if the map is zoomed or dragged, opening a new round of broken line clearing and traversing. The method has the characteristics that hundred thousand-level mass lines can be processed, the smoothness of a map page is ensured, the efficiency of drawing the mass lines is improved, and the user experience is improved. 本发明公开了一种应用于移动端地图海量线抽稀绘制的方法,包括如下步骤:获取海量线数据,并存储到集合X中;对集合X进行优先级排序;计算地图最大可显示折线数量Max;海量线抽稀;实时绘制集合P中的折线;若地图缩放或拖动时,开启新一轮的折线清除和遍历。本发明具有能够处理十万级的海量线,保证地图页面流畅,提升了绘制海量线的效率,提升了用户体验的特点。