ionic-team / ionic-team/ionic-native-google-maps

Error: DIV[#map_canvas] is too small. Must be bigger than 100x100

Abierto
#367 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
215
Forks
119
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

**I'm submitting a ...** (check one with "x")
- [ ] question
- [x] any problem or bug report
- [ ] feature request

**If you choose 'problem or bug report', please select OS:** (check one with "x")
- [x] **Android**
- [x] **iOS**
- [ ] **Browser**

**cordova information:** (run `$> cordova plugin list`)

com.googlemaps.ios 3.9.0 "Google Maps SDK for iOS"
cordova-plugin-actionsheet 2.3.3 "ActionSheet"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-advanced-http 3.1.0 "Advanced HTTP plugin"
cordova-plugin-androidx-adapter 1.1.3 "cordova-plugin-androidx-adapter"
cordova-plugin-androidx 3.0.0 "cordova-plugin-androidx"
cordova-plugin-app-version 0.1.12 "AppVersion"
cordova-plugin-datepicker 0.9.3 "DatePicker"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-dialogs 2.0.2 "Notification"
cordova-plugin-email-composer 0.9.2 "EmailComposer"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-googlemaps 2.7.1 "cordova-plugin-googlemaps"
cordova-plugin-inappbrowser 4.1.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.2.1 "cordova-plugin-ionic-webview"
cordova-plugin-market 1.2.0 "Market"
cordova-plugin-nativegeocoder 3.4.1 "NativeGeocoder"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
uk.co.workingedge.phonegap.plugin.launchnavigator 5.0.5 "Launch Navigator"

**If you use `@ionic-native/google-maps`, please tell the package.json (only `@ionic-native/core` and `@ionic-native/google-maps` are fine mostly)**
"@ionic-native/core": "^5.30.0",
"@ionic-native/google-maps": "^5.5.0",

**Current behavior:**

I get sometimes in production the error: Error: DIV[#map_canvas] is too small. Must be bigger than 100x100.

I don't know when it happens.

**Expected behavior:**
No error
**Screen capture or video record:**
no

**Related code, data or error log (please format your code or data):**
Here my html and css implementation:


#map_canvas
{
display: table-row; height: 100%;
width: 100%;
}

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start with the reported HTML and CSS for #map_canvas, along with the listed cordova-plugin-googlemaps and @ionic-native/google-maps versions. Investigate when the production layout leaves the map below 100x100, using the intermittent error and platform details to reproduce it; done means the error no longer occurs when the map is rendered.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
typescript
Área
mobile-dev
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.