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.

MapView in ScrollView issue

See original GitHub issue

Hi! 😃 I set the MapView at the bottom of a ScrollView, the thing is that I cannot move the map location on drag because the scrollView in scrolling, and I can barley zoom in/out the map also because of the same thing. My idea is to capture when MapView in getting touch with (touch) event and cancel the Scroll process and to return it when I get touch up event…But it seems the the MapView don’t to have a touch event. Have you have any idea on how can I solve it?

Thanks you very much! 😃

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:9
  • Comments:7

github_iconTop GitHub Comments

1reaction
CalebSWhitecommented, Mar 24, 2022

@wkjesus probably a bit late now, but in angular you’d do something like

@ViewChild('myScrollView') myScrollView: ElementRef;

onCameraMove(args) {
    this.myScrollView.nativeElement.android.requestDisallowInterceptTouchEvent(true);
}
0reactions
wkjesuscommented, Aug 21, 2020

Any Example in Angular Code… i have tried many options but no one fix the problem. and i think is a common use of case to have maps inside scrolls.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MapView inside a ScrollView? - android - Stack Overflow
I have a ScrollView which contains a lot of different things, including a MapView. The problem is that when I try to scroll...
Read more >
MapView does not display inside of scrollview #997 - GitHub
The MapView appears to not work at all currently when placed inside of a ScrollView. I was setting this up inside of a...
Read more >
MapView inside a Scroll View Not working : r/reactnative
I tried to find solutions for this on stackOverflow and tried to implement the solutions given in there(Stopping scroll view of the map...
Read more >
MKMapView inside a UIScrollView | Apple Developer Forums
For my app, I need to have a static MKMapView dispaying the user's location inside a scroll view. Right now, I have the...
Read more >
Android : MapView inside a ScrollView? - YouTube
Android : MapView inside a ScrollView ? [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] Android : MapView inside a ...
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