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

Closed
FlutterIssues opened this Issue Nov 9, 2015 · 168 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.

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.

Contributor

Hixie commented Dec 16, 2015

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

@collinjackson

This comment has been minimized.

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.

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.

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.

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.

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.

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.

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.

jingweno commented Jan 17, 2017

Any updates on this?

@markmooibroek

This comment has been minimized.

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.

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.

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? :)

@syfgkjasdkn

This comment has been minimized.

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.

feinstein commented Oct 4, 2018

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

@HerrNiklasRaab

This comment has been minimized.

HerrNiklasRaab commented Nov 3, 2018

Is this the right thread for getting notified on any updates, i need inline google maps view for android and ios, is there a more detailed thread or something like this?

@MisterJimson

This comment has been minimized.

MisterJimson commented Nov 5, 2018

@HerrNiklasRaab yes this is the issue to watch and has the best information for inline maps.

@amirh

This comment has been minimized.

Contributor

amirh commented Nov 10, 2018

flutter/plugins#892 added iOS support to the google_maps_flutter plugin.
The platform views embedding support, which the inline map is based on, is still in early preview (see #19030 (comment) ).

Open issues are tagged with the platform-views and/or maps labels, please upvote the issues you care about to help us prioritize.

@amirh amirh closed this Nov 10, 2018

@amirh

This comment has been minimized.

Contributor

amirh commented Nov 10, 2018

Note that if you want to try it out on iOS you will need to enable the preview flag, see more details on:
#19030 (comment)

@feinstein

This comment has been minimized.

feinstein commented Nov 10, 2018

I thinks this information should be included in the Readme.md for the library.

Are there any plans to move this to not be an in-line solution, so I can place buttons top of the map, a bottom sheet, a drawer layout?

@amirh

This comment has been minimized.

Contributor

amirh commented Nov 10, 2018

I'm planning to improve the documentation soon.

Not sure what you mean regarding not being an in-line solution? Flutter widgets can be placed on top of the map now.

@feinstein

This comment has been minimized.

feinstein commented Nov 10, 2018

Ohh, that's great! I remember reading there couldn't be any widgets on top of the map, as if it was a different rendering layer. Is this valid for ios and android?

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