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

Example in google-map-search not working in Shadow DOM

motss opened this issue · comments

Description

Example from google-map-search is not working in Shadow DOM.

Expected outcome

Google map with markers and shows info window on clicking one of the markers.

Actual outcome

Nothing. Just nothing shows up.

Live Demo

https://jsbin.com/wukuyubogo/1/edit?html,output

Steps to reproduce

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10

Please provide more info.

@ebidel Added a better description of the issue. Basically, it is not working on Shadow DOM.

I am having a similar issue in a different mapping api.. it works perfectly in Shady but can't pan the map for example when in Shadow dom for touch devices.