I am working on a project to update Polymer1.0 to 2.0, the google-map couldn't render, event I can see all the dom tag appears in chrome development tool. I have added slot="markers" into google-map-maker and in google-map.html, the <style>
tag it's already in the <template>
, like :
Can't get google-map marker to render (Polymer 2.0) and how to include google-map in polymer#^2.0 as it was working in polymer 1.7 point out.
<google-map fit-to-markers api-key="[[googleApi]]">
<google-map-marker slot="markers" latitude="42.3600825" longitude="-71.05888010000001"
itle="[[itinerary.origin.search]]"></google-map-marker>
<google-map-marker slot="markers" latitude="[[itinerary.destination.latLng.lat]]" longitude="-71.05888010000001"
title="[[itinerary.destination.search]]"></google-map-marker>
</google-map>
Does any one know what's the issue? My polymer version is 2.0 and google-map is 2.0.5
Comments
Post a Comment