-
Notifications
You must be signed in to change notification settings - Fork 52
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
Mapa cortado cuando cambio la orientación del celular. #92
Comments
Hi @mauricioLopezRamirez. Unfortunately I understand Spanish only with Google translate. But I hope that you understand English. Add orientation cordova plugin. Subscribe to orientation change event and recreate map. Like this (I haven't tested): |
@risinghero gracias por tu respuesta, lo e hecho sin plugin, solo utilice javascript lo cual detecta el cambio de orientación pero no ha funcionado el siguiente código. Que otra opción propones:
|
@mauricioLopezRamirez please check with debugger that event "orientationchange" works. There can be some problems with it. |
@risinghero si funciona, e puesto un alert para que me verifique que si se cambio de orientación y si cambia. |
@mauricioLopezRamirez to further help you I need simple example reproducing this issue. Can you create one? Just Map+subscription to event so i can test it on my pc. |
ok @risinghero este es mi codigo del index.html
|
The text was updated successfully, but these errors were encountered: