-
Notifications
You must be signed in to change notification settings - Fork 916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Temporary scrollbar on map #413
Comments
Did you install the #test branch or the official master? |
I installed my app where I use this plugin. Everything works great except this weird behaviour. Is it possible that this may be caused by colliding with different plugin? Because I use more phonegap plugins in my app. |
This is not the answer of my question. Did you use the official way or did you use the #test branch? Please post your Plugin List. Type
and copy your output here. I guess another plugins view is interfering here. |
What do you mean official way or test branch? I don't understand. My Plugin List: |
@hirbod I think @MCKmecik is not familiar with git, because @MCKmecik 's github activity is empty. @MCKmecik I think this issue is fixed in the test version (next coming version). Then follow the below commands:
|
@wf9a5m75 but his screenshot shows an android device, I thought your view update in #test is only iOS related? |
Oops, you are right. Ok, could you show me your HTML code, @MCKmecik ? |
Here is my HTML code. I am using jquery mobile and backbonejs.
|
Thanks, and what values do you specify for the html elements? I think some HTML elements' height over the body. Do you use Android 4.4 or over? If you share your code with me, I'll check it. |
Yes I have android 4.4.2. Thank you for your link, I will check it and send you some result. |
I have checked it, but everything looks ok. Nothing goes over the body. |
Could you share your apk file with me? |
Thank you for sending your apk. I checked it. test code <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height" />
<meta charset="utf-8" />
<title>Google Maps Plugin for Cordova</title>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript">
document.addEventListener('deviceready', function() {
var div = document.getElementById("map_canvas");
var map = plugin.google.maps.Map.getMap(div);
});
</script>
<style type="text/css">
html, body, #map_canvas {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<div id="map_canvas" ></div>
</body>
</html> |
This issue is fixed. Line 73 scrollView.setHorizontalScrollBarEnabled(false);
scrollView.setVerticalScrollBarEnabled(false); After line 193 and before line 194 scrollView.setHorizontalScrollBarEnabled(false);
scrollView.setVerticalScrollBarEnabled(false); After line 218 and before line 219 scrollView.setHorizontalScrollBarEnabled(true);
scrollView.setVerticalScrollBarEnabled(true); See: fa24e53 |
Thanks a lot! |
When I start app and create map, i can see scrollbar on the top right corner on the map (as you can see on the picture). This scrollbar is shown for a while and then it disapears.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: