Web page primitive adsorption method and device, storage medium and equipment

The invention relates to a Web page primitive adsorption method. The method includes: obtaining a current geographic position point clicked by the mouse on the map every time; recording a point closest to the current geographic position point in the adsorption geographic area as a current geographic...

Full description

Saved in:
Bibliographic Details
Main Author LIU ZHONGLIE
Format Patent
LanguageChinese
English
Published 04.08.2020
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention relates to a Web page primitive adsorption method. The method includes: obtaining a current geographic position point clicked by the mouse on the map every time; recording a point closest to the current geographic position point in the adsorption geographic area as a current geographic position adsorption point; and sequentially connecting all the current geographic position adsorption points to finish sketching of the adsorption object on the map. According to the method and device, vectorization of the objects needing to be adsorbed is not needed, access to a background serveris reduced, rendering of a foreground browser is reduced, and the operation experience of a user is improved. 本发明涉及一种Web页面图元吸附方法,包括以下步骤;获取鼠标在地图上每一次点击的当前地理位置点;将吸附地理区域内与所述当前地理位置点位置最近的点记录为当前地理位置吸附点;依次连接所有当前地理位置吸附点,完成在地图上对所述吸附对象的勾画。本发明无需将需要吸附的对象矢量化,减少了后台服务器的访问,同时减轻了前台浏览器的渲染,提升了用户的操作体验,本发明还涉及一种Web页面图元吸附装置、存储介质和设备。
Bibliography:Application Number: CN202010298572