@@ -229,7 +229,7 @@ class GoogleMapsController {
229229 _streamController.add (MapReadyEvent (_mapId));
230230 _isFirst = true ;
231231 } catch (e) {
232- print ('Javascript Error: $e ' );
232+ debugPrint ('Javascript Error: $e ' );
233233 }
234234 });
235235 }
@@ -250,7 +250,7 @@ class GoogleMapsController {
250250 _streamController.add (MapTapEvent (_mapId, position));
251251 }
252252 } catch (e) {
253- print ('Javascript Error: $e ' );
253+ debugPrint ('Javascript Error: $e ' );
254254 }
255255 });
256256 }
@@ -272,7 +272,7 @@ class GoogleMapsController {
272272 _streamController.add (MapLongPressEvent (_mapId, position));
273273 }
274274 } catch (e) {
275- print ('Javascript Error: $e ' );
275+ debugPrint ('Javascript Error: $e ' );
276276 }
277277 });
278278 }
@@ -295,7 +295,7 @@ class GoogleMapsController {
295295 }
296296 }
297297 } catch (e) {
298- print ('Javascript Error: $e ' );
298+ debugPrint ('Javascript Error: $e ' );
299299 }
300300 });
301301 }
@@ -327,7 +327,7 @@ class GoogleMapsController {
327327 }
328328 }
329329 } catch (e) {
330- print ('Javascript Error: $e ' );
330+ debugPrint ('Javascript Error: $e ' );
331331 }
332332 });
333333 }
@@ -351,7 +351,7 @@ class GoogleMapsController {
351351 }
352352 }
353353 } catch (e) {
354- print ('Javascript Error: $e ' );
354+ debugPrint ('Javascript Error: $e ' );
355355 }
356356 });
357357 }
@@ -375,7 +375,7 @@ class GoogleMapsController {
375375 }
376376 }
377377 } catch (e) {
378- print ('Javascript Error: $e ' );
378+ debugPrint ('Javascript Error: $e ' );
379379 }
380380 });
381381 }
@@ -398,7 +398,7 @@ class GoogleMapsController {
398398 }
399399 }
400400 } catch (e) {
401- print ('Javascript Error: $e ' );
401+ debugPrint ('Javascript Error: $e ' );
402402 }
403403 });
404404 }
@@ -542,7 +542,7 @@ class GoogleMapsController {
542542 try {
543543 return double .parse (await _callMethod (c, 'getZoom' , < String > []));
544544 } catch (e) {
545- print ('Javascript Error: $e ' );
545+ debugPrint ('Javascript Error: $e ' );
546546 return 0.0 ;
547547 }
548548 }
@@ -614,7 +614,7 @@ class GoogleMapsController {
614614 focusLatLng = await _pixelToLatLng (
615615 json[2 ][0 ] as double , json[2 ][1 ] as double );
616616 } catch (e) {
617- print ('Error computing focus LatLng. JS Error: $e ' );
617+ debugPrint ('Error computing focus LatLng. JS Error: $e ' );
618618 }
619619 }
620620 await _setZoom ('${(await getZoomLevel ()) + newZoomDelta }' );
0 commit comments