File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
< link rel ="import " href ="../polymer/polymer.html ">
2
2
<!-- styles scoped to inside a custom element must be in a style module -->
3
- < link rel ="import " href ="leaflet -styles.html ">
3
+ < link rel ="import " href ="map -styles.html ">
4
4
5
5
<!-- this is a modified version of leaflet which uses Polymer.dom instead of
6
6
regular DOM API calls so as to work with Shadow/Shady DOM custom elements -->
11
11
12
12
13
13
< dom-module id ="map-area ">
14
- < style include ="leaflet -styles ">
14
+ < style include ="map -styles ">
15
15
: host {
16
16
dis play: none;
17
17
}
Original file line number Diff line number Diff line change 1
1
< link rel ="import " href ="../polymer/polymer.html ">
2
2
<!-- styles scoped to inside a custom element must be in a style module -->
3
- < link rel ="import " href ="leaflet -styles.html ">
3
+ < link rel ="import " href ="map -styles.html ">
4
4
5
5
<!-- this is a modified version of leaflet which uses Polymer.dom instead of
6
6
regular DOM API calls so as to work with Shadow/Shady DOM custom elements -->
13
13
< dom-module id ="layer- ">
14
14
<!-- in polymer 1.0.x, styles must be outside of the <template> element
15
15
https://www.polymer-project.org/1.0/docs/migration.html#local-dom-template -->
16
- < style include ="leaflet -styles ">
16
+ < style include ="map -styles ">
17
17
: host {
18
18
dis play: none;
19
19
}
File renamed without changes.
Original file line number Diff line number Diff line change 2
2
< link rel ="import " href ="map-layer.html ">
3
3
< link rel ="import " href ="map-area.html ">
4
4
<!-- styles scoped to inside a custom element must be in a style module -->
5
- < link rel ="import " href ="leaflet -styles.html ">
5
+ < link rel ="import " href ="map -styles.html ">
6
6
7
7
<!-- this is a modified version of leaflet which uses Polymer.dom instead of
8
8
regular DOM API calls so as to work with Shadow/Shady DOM custom elements -->
14
14
< dom-module id ="web-map ">
15
15
< template >
16
16
<!-- use the leaflet-styles style module -->
17
- < style include ="leaflet -styles ">
17
+ < style include ="map -styles ">
18
18
/* make sure the map element doesn't get selected and styled by document styles */
19
19
: host {
20
20
dis play: inline-block !important ;
You can’t perform that action at this time.
0 commit comments