Closed andreaitferri closed 3 years ago
Hi @andreaitferri ,
Setting initRadius to a big value can solve it. I can find a street view on the Via Zeccagnuolo Rd while setting initRadius to 500.
initPos: LatLng(40.782475, 14.609774),
initRadius: 500,
Street view screenshot shown below.
Thanks for your reply!
This not work for me, i have inserted the param initRadius 500, but the result is same black screen.
If i insert initPos: LatLng(25.0780892, 121.5753234) work very well, if i use initPos: LatLng(40.782475, 14.609774) don't work :((
class MapStreetView extends StatefulWidget { final PointModel point; const MapStreetView({required this.point});
class PointModel { double latitude; double longitude;
PointModel({ required this.latitude, required this.longitude, });
factory PointModel.fromData(dynamic data) { double latitude = data["latitude"]; double longitude = data["longitude"];
return PointModel(
latitude: latitude,
longitude: longitude,
);
initPos: LatLng(widget.point.longitude, widget.point.latitude),
I using your class i call MapStreetView and i passing Pointmodel like here MaterialButton( onPressed: () => Navigator.push( context, MaterialPageRoute( builder: (context) => MapStreetView( point: new PointModel(latitude: veichel.latitude, longitude: veichel.longitude), ), )),
Hi @andreaitferri ,
I test your code at Android&iOS. Still work for me. The code of demo videos(link).
Close issue here. Can't reproduce bug and set big initRadius can find street view.
Thanks!!!!
I'm testing now this code! Your plugin is very beautiful and there isn't similar to pub.dev :)
============================= Andrea Ferri 349 1928014
Il giorno mar 26 ott 2021 alle ore 08:27 Zhe-Yi, Zhu < @.***> ha scritto:
Close issue here. Can't reproduce bug and set big initRadius can find street view.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zyzdev/flutter_street_view/issues/3#issuecomment-951602491, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATGXUKJJ2LYJ7HLGF2IXPVDUIZC53ANCNFSM5GJUIAIQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hi
i testing you lib with this data, initPos: LatLng(40.782475, 14.609774), but i see only black screen :)
My data are correct i get it from my gps app for localize car and truck
Help me:)