-
Notifications
You must be signed in to change notification settings - Fork 911
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
App works slow after initializing the map on Android #261
Comments
Some people reports similar this case, but I can not reproduce the same issue. |
Nexus 7 2, android 4.4.4. Weird that on old version everything worked well |
And on Nexus 7 some transitions even does not work at all ( |
Um, that's weird. I usually tested on Nexus 7 (2012), but there is no issue. |
And do you use the ionic framework or something? |
I use a lot plugins, we develop a big app. No, I don't use ionic. We use backbone |
Could you tell me what plugins do you use? |
Is the reason could be in other phonegap plugins? |
android.support.v4 1.0.0 "Android Support v4" |
Thank you. I will check those plugins tonight. |
Thank you very much) |
Oh, could you help me one more thing? |
I can try |
Thank you for your help. I added some code to improve the webview performance generally.
|
I have replaced GoogleMaps.java, but it is still slow( |
I see. |
How about comment out the below lines? |
I have already at home, so I will check it tomorrow. Thanks |
Ok.
|
No, it is still slow |
Seems I have found the problem. There two lines with |
I added them today.
|
But after commenting this lines screen with map blinks after first opening |
they are on GoogleMaps.java line 175, and MyPluginLayout.java line 56 |
Is there any solutions to avoid blinks?) |
Really can confirm that overriding to Software mode slows app. But if just comment these lines - map blinks on creating and even with wrong sizes, and refreshLayout() doesn't helps. |
The above line needs to place the map under the browser view. |
It is sad. But for me better blinks than slow app( |
Ok, how about the remove |
I will try, but I thought without this my app become slower, or no? |
I don't know. |
It did not help( Thank you for attention) |
Add The plugin can not add this attribute automatically, so please add by hand.
I don't know this helps to solve your case, but the issue #224, which is similar case with yours, is effected at least for me. If this does not help, please share your project with me using github. |
@starostin Any update? |
Sorry, was not at work. I set android:largeHeap="true", but it did not help. A cant share project, because it is not my project( I will create new one, and then give you an access |
@starostin Thank you, I'll be waiting. |
Since there is no new information, I close this issue at once. |
Hello. I have some problem in Android. After initializing map my application starts work very slow. All css animations and transactions.
On version 1.1.2 everything was ok, but on 1.2.2 it is happened. Is there any solution? I have tried to remove the map each time, when I detach the view, but it does not help( Can you suggest anything, please
The text was updated successfully, but these errors were encountered: