Skip to content

Is there a callback when the visible area of the map changes #1036

Closed Answered by devemux86
333bkz asked this question in Q&A
Discussion options

You must be logged in to vote

Can listen for map position changes (skipping the UPDATE_EVENT) with:

map.events.bind(new Map.UpdateListener() {
    @Override
    public void onMapEvent(Event e, MapPosition mapPosition) {
        if (e == Map.UPDATE_EVENT)
            return;
        ...
    }
});

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@333bkz
Comment options

Answer selected by 333bkz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1035 on April 20, 2023 07:58.