I want to hide the overlay item window popup after click on the mapview. Currently when i click on the balloon then popup window comes. if i tap on other ballon then previous ballon pop up window hide and new pop up window comes on that ballon. this is correct. But I have a problem to hide that pop up on the mapview click/Touch. Please share the solution.
Remove overlay window from the ballon in android
649 Views Asked by Amit Thaper At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in DICTIONARY
- Difference between list() and dict() with generators
- Python program to produce dictionary of file extensions and sizes
- How to sort a nested dictionary by the a nested value?
- Renaming the keys of a dictionary
- VB.NET KeyNotFoundException from String()
- Numpy Vs nested dictionaries, which one is more efficient in terms of runtime and memory?
- Multiple parameters in a Dictionary
- ComboBox Not Being Filled With Unique Field Values Via Dictionary Learning
- Batch file: map a FTP server
- How to put objects into a dictionary using Dapper in C#?
- Pyparsing - Trouble parsing file to dictionary structure
- convert tuple keys of dict into a new dict
- Change the values of a list without using index
- Dictionary values missing
- How to create and add values to Dictionary in swift
Related Questions in ANDROID-MAPVIEW
- Only display annotations within visible mapview area
- Error inflating class fragment- Android Google Map Api V2
- MapView markers get directions to Address
- Circle menu for mapview Marker in Android google maps API V2
- Android : MapView in a CollapsingToolbarLayout
- How can I access variable from a callback method on Android
- LinearLayout in ScrollView: Make last child have minHeight and fill empty space if necessary
- GPS-Service , Main Activity and Map Activity (Pass co-ordinates from service to map current location)
- MBTilesOsmDroidExample Failed to Load MBTiles File from Assets Folder
- Marker not displaying on GoogleMap
- GoogleMap - animateCamera() doing nothing after Fragment resume
- how to create Android map v2 using MapView class
- Google Maps v2 Expected 4030500 found 0 exception
- mapView is not changing
- Image Button is not working in InfoWindowAdapter in google map v2
Related Questions in BALLOON
- C++ CLI NotifyIcon Show Balloon
- Amcharts XY charts not displaying balloon
- System notification area balloon by C++?
- Killing Queued Notification Balloons (Pre-Vista)
- I want a more personalized BalloonHint (Background color/Rounded Corner/transparency)
- C# - Disable balloon tips
- Balloon-tips with Qt
- Delphi: Balloon Form with fsStayOnTop not working in Win7
- Custom system tray icon "balloon tooltips" for Qt?
- Balloon-widget for GWT
- asp.net notifyIcon balloon tip popup with sound
- ToolTip IsBalloon cancel messes up size of next balloon open
- Display only one Shell if the shell if previously open not display another shell
- Balloon plots with colours based on value and with value number inside the dots
- CSS Ballon google earth
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
To resolve this firstly you have to take static variable in the MapActivity.
e.g public static isMapRefreshed = false;
Then goto BalloonItemizedOverlay class there is a draw method there. write following code there to resolve this.
private BalloonOverlayView balloonView;
if(UsersNearMe.isMapRefreshed){ hideBalloon(); }
private void hideBalloon() { if (balloonView != null) { balloonView.setVisibility(View.GONE); } }
on mapview clicklistener change the static value for the isMapRefreshed to true. and on tap change the static value for the isMapRefreshed to false