Unable to display line with google-map-poly component with 2.0-preview branch
bhargavkonkathi opened this issue · comments
Hello,
I'm trying to draw simple line with google-map-poly component, although I imported following components. I was able to see maps and markers properly. But line with points is not displayed.
The following snippet is working fine in webcomponents.org.
<link rel="import" href="../bower_components/google-map/google-map.html">
<link rel="import" href="../bower_components/google-map/google-map-marker.html">
<link rel="import" href="../bower_components/google-map/google-map-poly.html">
<link rel="import" href="../bower_components/google-map/google-map-point.html">
`<google-map fit-to-markers api-key="xxx-xxx">
<google-map-marker slot="markers" latitude="-38.27523" longitude="144.66582" ></google-map-marker>
<google-map-marker slot="markers" latitude="-38.44475" longitude="145.23259" ></google-map-marker>
<google-map-poly stroke-weight="1">
<google-map-point latitude="-38.27523" longitude="144.66582"></google-map-point>
<google-map-point latitude="-38.30164" longitude="144.6054"></google-map-point>
<google-map-point latitude="-38.52639" longitude="144.89366"></google-map-point>
<google-map-point latitude="-38.52693" longitude="144.894"></google-map-point>
<google-map-point latitude="-38.52424" longitude="144.89915"></google-map-point>
<google-map-point latitude="-38.44475" longitude="145.23259"></google-map-point>
</google-map-poly>
</google-map>`
Expected:
Line with points has to be displayed in map.
Any help would be appreciated Thanks.
I confirm a similar result, unable to display a polyline with google-map-poly, using Polymer 2.0.2.
Has anyone had a look at this? Any help would be appreciated. Thanks.