0

I would like to build an app, which will show user markers on web. I found out that the only plugin, that supports google street view is - https://pub.dev/packages/flutter_google_street_view , but it does not support markers on web, only ios, so I thought, that might be a good idea to add a feature to it, that allows to do it.

I see it uses another dart package to communicate with js, which allows to add markers (https://developers.google.com/maps/documentation/javascript/markers?hl=pl) - https://pub.dev/packages/google_maps but I've got trouble with understanding how everything interacts. The only file that imports this package is convert.dart (https://github.com/zyzdev/flutter_street_view/blob/master/flutter_google_street_view/lib/src/web/convert.dart), which just convert types between dart and js, I do not see package usage like from example page (https://github.com/a14n/dart-google-maps/blob/master/example/05-drawing_on_map/marker-simple/page.dart).

I know that flutter_google_street_view uses https://pub.dev/packages/street_view_platform_interface to provide interface to user.

I guess there's need to mess with mobile package, because here's how an implementation of ios markers looks like- https://github.com/zyzdev/flutter_street_view/blob/4297972282d4c3bf16bc023f56a7e0622cffe14c/flutter_google_street_view/lib/src/mobile/street_view_state.dart#L90 .

I've asked about adding a feature to the plugin owner, but without response. I'm looking for any advice or points of direction. Thank you in advance.

danPyk
  • 413
  • 5
  • 11
  • 1
    This question would be considered off-topic for StackOverflow since it's about generic advice rather than a specific programming-related problem. That said, in the issue you created on the Github page for the project, you make no mention of you adding the feature, only that you want to know if such a feature could be made. It implies that you expect the author to do the work of implementing the feature, and depending on their availability and commitment to the project, that kind of request might be marked as low priority if not ignored entirely. – Abion47 Aug 30 '23 at 15:44
  • 1
    If you were planning on contributing, fork the repository and implement the feature (including any relevant automated tests or examples) and then create a push request in the original repository. This is more likely to be noticed and addressed since you already did most of the work. Lastly, five days isn't that long to wait for a response for a repo that sees relatively little activity. Seeing as the last activity from the author was on Jul 10th, the author clearly isn't paying attention to the repo right now. You'll just have to wait until they get the time/inclination to become active again. – Abion47 Aug 30 '23 at 15:50
  • It's also worth noting that, in the meantime, if you need this feature for your own app, you can always import your own fork of the project by using the [git URL syntax of the pubspec dependency entry](https://stackoverflow.com/a/54023220/1255873). – Abion47 Aug 30 '23 at 15:53
  • @Abion47 I thought that I've proved that I'm interested myself in contributing plugin. I'm preety sure this can be done, I've added link to the docs with implementation to js. If I can narrow question to one thing it would be interaction with google_maps package. implementation looks different than in docs. I'm already forked repo, I did some contribution to other plugin, but I do not have much code, which makes sense, so I'm not doing any push. Thank you for answer. – danPyk Aug 30 '23 at 16:01

0 Answers0