GoogleWebComponents / google-map

Google Maps web components

Home Page:https://elements.polymer-project.org/elements/google-map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Polymer 2.0

govis opened this issue · comments

commented

With Polymer 2.0 being release candidate now and nearing the official release and most of Polymer Elements being available in 2.0 "hybrid" mode (2.0-preview) - when can we expect 2.0 compatible version of GoogleWebComponents, specifically google-map and google-sheets?

Waiting anxiously!

A quick way to use it with Polymer 2.0 pending the "real" version : RoXuS/google-map@0813776.
And use slot name marker to embed the markers:

<google-map fit-to-markers api-key="AIzaSyD3E1D9b-Z7ekrT3tbhl_dy8DCXuIuDDRc">
  <google-map-marker slot="marker" latitude="43.364823" longitude="1.456115">
  </google-map-marker>
</google-map>
commented

Great, thank you - it works. Hoping there will still be an official commit given that the change is so straightforward.

In this post: https://www.polymer-project.org/blog/2017-05-15-time-for-two

You sat that all your elements have been updated to work with 2.0

But that is not the case here? Is that a slip up, or is it only a specific sub section of elements? If so, which elements do not yet work with 2.0?

Meanwhile, just use the 2.0-preview branch.

@RoXuS , hi !
I have tried the same with your suggested changes, inside google-map and google-map-marker. But unfortunately I could not able to render the map still, please check the issue: Where am I doing mistake :)

Now Its working as suggested at above link in my question. ( Also need to move styles under template in google-map.)

commented

Yes it looks like it's been merged into the master now, Thank you.