question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add onMapViewFinishedDragging Callback

See original GitHub issue

Issue Type

[ ] Question [ ] Bug [x] Improvement [ ] Build system related [ ] Performance [ ] Documentation

Description and/or steps/code to reproduce the problem

Add a callback that is called when the map finished moving.

Exemple: the user drag the map from London to Berlin, the user stop dragging the map when it’s on Berlin. This callback is called:

onMapViewFinishedDragging(BoundingBox boundingBox)

or

onMapViewFinishedDragging(GeoPoint centerPoint)

Then we can use this information to load point of interests only in this area (BoundingBox) or a radius around the center point (GeoPoint).

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:11

github_iconTop GitHub Comments

1reaction
Tvaxcommented, Apr 6, 2020

Yes you’re totally right !

0reactions
Tvaxcommented, May 7, 2020

Sorry for the late response.

Can’t we “fix” the 3s delay call to the MapView.onScroll method, that would be a cleaner solution I guess, nonetheless I have no idea if this will have an impact on the rest of the SDK.

Otherwise I think adding a timer would be a great idea to bypass the problem!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Callbacks - MoodleDocs
List of Moodle callbacks. List of one-to-many callbacks. To implement one of these callbacks plugins must add a function ...
Read more >
JavaScript callbacks — Bokeh 2.4.3 Documentation
This kind of callback can be used to add interesting interactions to Bokeh documents without requiring a Bokeh server (but can also be...
Read more >
Create A Simple Callback Receiver - ThingSpace - Verizon
This simple RESTful callback receiver accepts POST requests from ThingSpace, identifies the callback type, and displays the body via console.log().
Read more >
How to expose callback function for Google Maps when using ...
I need to expose a callback function that should be executed after the Google Maps API loads. How can this be done without...
Read more >
JavaScript Callbacks - Depositfix
DepositFix supports callback JS functions to add more dynamic functions or integrations to your form page. Adding onFormLoad Callback; Adding Other Callback ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found