Closed lautarozanuttini closed 1 year ago
I don't understand the issue. The example 08-services/streetview-service works without issue even on location without streetview (the check of the status allows you to catch those cases)?
Hi Alexandre, im using flutter_street_view package where use this package to find location and show the view but flutter throw error in this functions everytime that location is not available, here attached images with the error. Thanks you for the patience.
Do you use a specific version of google maps? What returns google.maps.version
in the js console?
According to the getPanorama doc this method should return a promise (and not null
as the logs suggest)
Could you share your getPanorama()
call?
im using google_maps_flutter: ^2.1.12, google_maps_flutter_web: ^0.4.0+2 and flutter_google_street_view: ^3.1.2, i will send you more info latter because im not in the office now.
Is this issue still relevant?
Hi Alexandre, i had to close another things but yesteday i execute flutter clean, update all packeges and re-code the widget that have this issue and didnt show anymore, i think that was the solution, i will keep testing and if show up again then i re-open this issue, im sorry for the time and thank you for your patience.
Hi Alexander, here is the error again and that is the call to the getPanorama function.
Do you use a specific version of google maps? What returns google.maps.version
in the js console of your browser?
Could you provide a simple project that reproduce the issue? I'm not able to see this issue on the example 08-services/streetview-service.
Hi a14n, a im using the package to consult locations but if its not available throw a exception in this functions, the solutions that will help its convert the value that return from StreetViewResponse to StreetViewResponse?
getPanorama(), on line 6126 on google_maps_core.js.g.dart. thanks