问题
How to be notified when all graphics are fully rendered on HERE maps, for instance when huge amount of icons are to be displayed ?
回答1:
It is fairly straightforward to check when the map is rendered - there is a "render" event (https://developer.here.com/documentation/maps/topics_api/h-map-render-renderengine.html#h-map-render-renderengine__render-event) on the RenderEngine. When target of the even is RenderEngine itself it means that the map was rendered. For example:
map.getEngine().addEventListener('render', (evt) => { if (map.getEngine() === evt.target) { console.log('rendered'); } })
Hope this helps.
来源:https://stackoverflow.com/questions/54078252/which-event-when-here-map-is-fully-rendered