@@ -489,7 +489,7 @@ export var MapMLLayer = L.Layer.extend({
489489 layerItemSettings = L . DomUtil . create ( 'div' , 'mapml-layer-item-settings' , fieldset ) ,
490490 itemToggleLabel = L . DomUtil . create ( 'label' , 'mapml-layer-item-toggle' , layerItemProperty ) ,
491491 layerItemControls = L . DomUtil . create ( 'div' , 'mapml-layer-item-controls' , layerItemProperty ) ,
492- opacityControl = L . DomUtil . create ( 'details' , 'mapml-layer-item-opacity' , layerItemSettings ) ,
492+ opacityControl = L . DomUtil . create ( 'details' , 'mapml-layer-item-opacity mapml-control-layers ' , layerItemSettings ) ,
493493 opacity = L . DomUtil . create ( 'input' ) ,
494494 opacityControlSummary = L . DomUtil . create ( 'summary' ) ,
495495 svgSettingsControlIcon = L . SVG . create ( 'svg' ) ,
@@ -654,7 +654,7 @@ export var MapMLLayer = L.Layer.extend({
654654 // don't add it again if it is referenced > once
655655 if ( mapmlInput . tagName . toLowerCase ( ) === 'map-select' && ! frag . querySelector ( id ) ) {
656656 // generate a <details><summary></summary><select...></details>
657- var selectdetails = L . DomUtil . create ( 'details' , 'mapml-control-layers' , frag ) ,
657+ var selectdetails = L . DomUtil . create ( 'details' , 'mapml-layer-item-time mapml- control-layers' , frag ) ,
658658 selectsummary = L . DomUtil . create ( 'summary' ) ,
659659 selectSummaryLabel = L . DomUtil . create ( 'label' ) ;
660660 selectSummaryLabel . innerText = mapmlInput . getAttribute ( 'name' ) ;
@@ -939,7 +939,7 @@ export var MapMLLayer = L.Layer.extend({
939939 } ;
940940
941941 for ( var j = 0 ; j < styleLinks . length ; j ++ ) {
942- var styleOption = document . createElement ( 'span ' ) ,
942+ var styleOption = document . createElement ( 'div ' ) ,
943943 styleOptionInput = styleOption . appendChild ( document . createElement ( 'input' ) ) ;
944944 styleOptionInput . setAttribute ( "type" , "radio" ) ;
945945 styleOptionInput . setAttribute ( "id" , "rad-" + L . stamp ( styleOptionInput ) ) ;
@@ -953,7 +953,7 @@ export var MapMLLayer = L.Layer.extend({
953953 styleOptionInput . checked = true ;
954954 }
955955 stylesControl . appendChild ( styleOption ) ;
956- L . DomUtil . addClass ( stylesControl , 'mapml-control-layers' ) ;
956+ L . DomUtil . addClass ( stylesControl , 'mapml-layer-item-style mapml- control-layers' ) ;
957957 L . DomEvent . on ( styleOptionInput , 'click' , changeStyle , layer ) ;
958958 }
959959 layer . _styles = stylesControl ;
0 commit comments