Sie sind nicht angemeldet.

Douglas Rhiner

Fortgeschrittener

  • »Douglas Rhiner« ist der Autor dieses Themas

Beiträge: 141

Wohnort: San Anselmo, CA

Beruf: Code-Slave

  • Nachricht senden

1

Dienstag, 19. September 2017, 20:25

Layer parent="BGLAYER" issues

I have a custom Google Maps plugin with a <select> element and a <div>( with an onclick attribute )that is added to the DOM via plugin.sprite.appendChild();
When the layer/plugin has parent=‘BGLAYER’ the <select> element will not work/dropdown AND when clicking on the select element, a style is appended to the <body> tag style=“user-select: none;”.
However it works as expected when the layer/plugin is a “child” of the <area>, parent=‘’.
Also, the <div> with the onclick event and all other Google Maps control elements works in both scenarios

Anyone have any ideas as to why this is occurring?

Here are some links to screen captures of the situation.

Working, when parent=''.
http://www.cerebrateaquarium.com/krpano/Working.jpg

Not working, when parent='BGLAYER'.
http://www.cerebrateaquarium.com/krpano/NotWorking.jpg

Not working, when parent='BGLAYER' with Developer Tools highlight.
http://www.cerebrateaquarium.com/krpano/…ingElements.jpg