New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline Google Maps support #73

Open
FlutterIssues opened this Issue Nov 9, 2015 · 161 comments

Comments

@FlutterIssues

FlutterIssues commented Nov 9, 2015

Issue by Hixie
Thursday Jul 16, 2015 at 22:26 GMT
Originally opened as https://github.com/flutter/engine/issues/30


From @collinjackson on July 8, 2015 20:23

We are going to want to have support for maps in Sky.

There are a few ways we might go about doing this:

  1. Use native maps widget for each platform to render the map
  2. Use maps widget for each platform to render to a texture and draw the map ourselves
  3. Develop a custom maps SDK for Sky

The second option would be ideal but may not be possible. We should investigate which approach is best and build a demo app.

Copied from original issue: domokit/mojo#310

@FlutterIssues

This comment has been minimized.

Show comment
Hide comment
@FlutterIssues

FlutterIssues Nov 9, 2015

Comment by eseidelGoogle
Wednesday Aug 05, 2015 at 19:35 GMT


We might need this for the Fitness app, depending.

FlutterIssues commented Nov 9, 2015

Comment by eseidelGoogle
Wednesday Aug 05, 2015 at 19:35 GMT


We might need this for the Fitness app, depending.

@FlutterIssues FlutterIssues added this to the Blue Sky milestone Nov 9, 2015

@Hixie

This comment has been minimized.

Show comment
Hide comment
@Hixie

Hixie Dec 16, 2015

Contributor

This is presumably going to be a "third-party" component, right?

Contributor

Hixie commented Dec 16, 2015

This is presumably going to be a "third-party" component, right?

@collinjackson

This comment has been minimized.

Show comment
Hide comment
@collinjackson

collinjackson Dec 16, 2015

Contributor

We'll almost certainly want to use some non-Dart SDK to provide Maps support, so yes.

Contributor

collinjackson commented Dec 16, 2015

We'll almost certainly want to use some non-Dart SDK to provide Maps support, so yes.

@eseidelGoogle

This comment has been minimized.

Show comment
Hide comment
@eseidelGoogle

eseidelGoogle May 13, 2016

Contributor

We expect developers will use Maps by using a "native" iOS or Android maps view, per:
https://docs.google.com/document/d/1DOfwpL6VojCAG_zjjcA_z5ekF7rTIohV8dWn2o7_IME/edit

Contributor

eseidelGoogle commented May 13, 2016

We expect developers will use Maps by using a "native" iOS or Android maps view, per:
https://docs.google.com/document/d/1DOfwpL6VojCAG_zjjcA_z5ekF7rTIohV8dWn2o7_IME/edit

@a14n

This comment has been minimized.

Show comment
Hide comment
@a14n

a14n May 13, 2016

Contributor

I don't see in this doc descriptions of how to integrate native widget (like Maps) into your flutter apps. Have I missed something ?

Contributor

a14n commented May 13, 2016

I don't see in this doc descriptions of how to integrate native widget (like Maps) into your flutter apps. Have I missed something ?

@eseidelGoogle

This comment has been minimized.

Show comment
Hide comment
@eseidelGoogle

eseidelGoogle May 13, 2016

Contributor

Sorry, I may have been a bit overzealous in my linking. Said doc is pre-work for Flutter to participate as a normal View inside Obj-C/Java applications. The path to add other Obj-C/Java code to them is not yet documented, no.

Contributor

eseidelGoogle commented May 13, 2016

Sorry, I may have been a bit overzealous in my linking. Said doc is pre-work for Flutter to participate as a normal View inside Obj-C/Java applications. The path to add other Obj-C/Java code to them is not yet documented, no.

@tjerkw

This comment has been minimized.

Show comment
Hide comment
@tjerkw

tjerkw Sep 7, 2016

As a developer i really want to use the native Google Maps component to render inside my flutter app. I just created a flutter app and this is kind of a blocker. The only solution is to build it in Java/Android and open it when clicking a flutter button.

Ideally I would like a 'NativeView' in flutter, which renders a native widget inside flutter.
This is probably quite difficult because you have merge rendering / events into the flutter rendering engine.

It also goes against the flutter 'one widget for both platforms'. However, sometimes complex widgets (like a map) are really something you want to reuse.

tjerkw commented Sep 7, 2016

As a developer i really want to use the native Google Maps component to render inside my flutter app. I just created a flutter app and this is kind of a blocker. The only solution is to build it in Java/Android and open it when clicking a flutter button.

Ideally I would like a 'NativeView' in flutter, which renders a native widget inside flutter.
This is probably quite difficult because you have merge rendering / events into the flutter rendering engine.

It also goes against the flutter 'one widget for both platforms'. However, sometimes complex widgets (like a map) are really something you want to reuse.

@Goutte

This comment has been minimized.

Show comment
Hide comment
@Goutte

Goutte Dec 2, 2016

Hello ! I would love to know the roadmap of this feature, or even if one even exists. I have two mobile apps in the works and both rely heavily on a map. I love Dart, and I'm looking for an excuse to try Flutter.

The solution with FlutterView looks overly complicated, from the point of view of a rookie who has never written a single line of Flutter. The other solutions do not suit my need, I need a fully interactive map.

I don't know how hairy that is to implement in Flutter, nor if you even plan to implement it someday. Any info would be appreciated. I guess the resolution of this issue will be my signal to start development with Flutter.

Goutte commented Dec 2, 2016

Hello ! I would love to know the roadmap of this feature, or even if one even exists. I have two mobile apps in the works and both rely heavily on a map. I love Dart, and I'm looking for an excuse to try Flutter.

The solution with FlutterView looks overly complicated, from the point of view of a rookie who has never written a single line of Flutter. The other solutions do not suit my need, I need a fully interactive map.

I don't know how hairy that is to implement in Flutter, nor if you even plan to implement it someday. Any info would be appreciated. I guess the resolution of this issue will be my signal to start development with Flutter.

@debunge

This comment has been minimized.

Show comment
Hide comment
@debunge

debunge Jan 8, 2017

Is there any chance maps will be implemented in 2017? I love Dart and would like very much to use Flutter, but I really need non-static maps, like showing points of interest nearby and showing the description upon the click on the point.

debunge commented Jan 8, 2017

Is there any chance maps will be implemented in 2017? I love Dart and would like very much to use Flutter, but I really need non-static maps, like showing points of interest nearby and showing the description upon the click on the point.

@sethladd sethladd modified the milestones: 3: Make conferences happy, 4: Make Hixie proud Jan 11, 2017

@jingweno

This comment has been minimized.

Show comment
Hide comment
@jingweno

jingweno Jan 17, 2017

Any updates on this?

jingweno commented Jan 17, 2017

Any updates on this?

@markmooibroek

This comment has been minimized.

Show comment
Hide comment
@markmooibroek

markmooibroek May 14, 2017

First of all I (fulltime Android dev) love flutter and the progress that is made the last months is impressive. That said, I think this issue is a pretty big blocker for a lot of people that are willing to migrate their business in the future.

I'm currently doing a case study for the company i am working for and if a NativeView (per tjerkw's suggestion) feature exists we could use that to properly bridge the gap between the different platforms!

markmooibroek commented May 14, 2017

First of all I (fulltime Android dev) love flutter and the progress that is made the last months is impressive. That said, I think this issue is a pretty big blocker for a lot of people that are willing to migrate their business in the future.

I'm currently doing a case study for the company i am working for and if a NativeView (per tjerkw's suggestion) feature exists we could use that to properly bridge the gap between the different platforms!

@abarth

This comment has been minimized.

Show comment
Hide comment
@abarth

abarth May 14, 2017

Contributor

I think this issue is a pretty big blocker for a lot of people that are willing to migrate their business in the future.

Yes. We've gotten that feedback consistently. It's just a question of what implementation approach we want to take and when to schedule the work.

Contributor

abarth commented May 14, 2017

I think this issue is a pretty big blocker for a lot of people that are willing to migrate their business in the future.

Yes. We've gotten that feedback consistently. It's just a question of what implementation approach we want to take and when to schedule the work.

@abarth abarth modified the milestones: 3: Make conferences happy, 4: Make shippers happy May 14, 2017

@Hixie Hixie added the engine label May 30, 2017

@bramvbilsen

This comment has been minimized.

Show comment
Hide comment
@bramvbilsen

bramvbilsen Jun 16, 2017

Is there any progress on this? I've got two apps sketched that require maps and would like to make them my first Flutter app in the stores. So is this going to come out within the next few months or are we talking next year? :)

bramvbilsen commented Jun 16, 2017

Is there any progress on this? I've got two apps sketched that require maps and would like to make them my first Flutter app in the stores. So is this going to come out within the next few months or are we talking next year? :)

@amirh

This comment has been minimized.

Show comment
Hide comment
@amirh

amirh Aug 29, 2018

Contributor

An Android only preview of the inline google maps plugin is now available at: https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter

(the framework and engine support required for this is currently only available on the master channel)

Contributor

amirh commented Aug 29, 2018

An Android only preview of the inline google maps plugin is now available at: https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter

(the framework and engine support required for this is currently only available on the master channel)

@feinstein

This comment has been minimized.

Show comment
Hide comment
@feinstein

feinstein Aug 29, 2018

The Readme speaks about iOS setup ... Shouldn't this be more clarified?

feinstein commented Aug 29, 2018

The Readme speaks about iOS setup ... Shouldn't this be more clarified?

@amirh

This comment has been minimized.

Show comment
Hide comment
@amirh

amirh Aug 29, 2018

Contributor

Good point, I'll remove it for now.

Contributor

amirh commented Aug 29, 2018

Good point, I'll remove it for now.

@cosminstoinescu

This comment has been minimized.

Show comment
Hide comment
@cosminstoinescu

cosminstoinescu Sep 23, 2018

Hi, when testing google_maps_flutter I encountered the following problem:
If I press 'Go to London' button, the map goes at that location, and if I try to do a zoom out the application stop working and closes.
Log:
E/JavaBinder(10217): !!! FAILED BINDER TRANSACTION !!! (parcel size = 3050800)
I/Process (10217): Sending signal. PID: 10217 SIG: 9
Lost connection to device.

If I do a zoom in, everithing works, and then if I do a zoom out, the aplication works fine until it reaches the zoom value set when the button was pressed.
If I dont press the button, I can do zoom in and zoo out without any problems.

cosminstoinescu commented Sep 23, 2018

Hi, when testing google_maps_flutter I encountered the following problem:
If I press 'Go to London' button, the map goes at that location, and if I try to do a zoom out the application stop working and closes.
Log:
E/JavaBinder(10217): !!! FAILED BINDER TRANSACTION !!! (parcel size = 3050800)
I/Process (10217): Sending signal. PID: 10217 SIG: 9
Lost connection to device.

If I do a zoom in, everithing works, and then if I do a zoom out, the aplication works fine until it reaches the zoom value set when the button was pressed.
If I dont press the button, I can do zoom in and zoo out without any problems.

@zoechi

This comment has been minimized.

Show comment
Hide comment
@zoechi

zoechi Sep 24, 2018

Contributor

@cosminstoinescu it's probably better to create a new issue for this specific problem with a completely filled issue template and if possible a running minimal reproduction.

Contributor

zoechi commented Sep 24, 2018

@cosminstoinescu it's probably better to create a new issue for this specific problem with a completely filled issue template and if possible a running minimal reproduction.

@cosminstoinescu

This comment has been minimized.

Show comment
Hide comment
@cosminstoinescu

cosminstoinescu Sep 24, 2018

Created issue ticket: #22228: Inline Google Maps - zoom crash

cosminstoinescu commented Sep 24, 2018

Created issue ticket: #22228: Inline Google Maps - zoom crash

@syfgkjasdkn

This comment has been minimized.

Show comment
Hide comment
@syfgkjasdkn

syfgkjasdkn Oct 4, 2018

As others have already mentioned, it's possible for flutter to interact with native maps via platform channels, here's an example of doing just that in swift: https://github.com/syfgkjasdkn/map_and_flutter

Just in case someone might find it helpful.

syfgkjasdkn commented Oct 4, 2018

As others have already mentioned, it's possible for flutter to interact with native maps via platform channels, here's an example of doing just that in swift: https://github.com/syfgkjasdkn/map_and_flutter

Just in case someone might find it helpful.

@feinstein

This comment has been minimized.

Show comment
Hide comment
@feinstein

feinstein Oct 4, 2018

Out of curiosity, are you guys also porting the Places API, or just the Google Maps API?

feinstein commented Oct 4, 2018

Out of curiosity, are you guys also porting the Places API, or just the Google Maps API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment