File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -38,16 +38,16 @@ jobs:
38
38
npm install
39
39
npm run build
40
40
41
- - name : Install streamlit-folium
41
+ - name : Install streamlit_folium dev dependencies
42
42
shell : bash -l {0}
43
43
run : |
44
- cd streamlit_folium
45
- pip install -e .
44
+ conda install --file streamlit_folium/tests/requirements.txt
46
45
47
- - name : Install streamlit_folium dev dependencies
46
+ - name : Install streamlit-folium
48
47
shell : bash -l {0}
49
48
run : |
50
- pip install -r streamlit_folium/tests/requirements.txt
49
+ cd streamlit_folium
50
+ pip install -e .
51
51
52
52
- name : Install playwright dependencies
53
53
shell : bash -l {0}
Original file line number Diff line number Diff line change @@ -570,9 +570,9 @@ class GeoJson(Layer):
570
570
571
571
{%- if this.marker %}
572
572
function {{ this.get_name() }}_pointToLayer(feature, latlng) {
573
- var opts = {{ this.marker.options | tojson | safe }};
573
+ var opts = {{ this.marker.options | tojavascript }};
574
574
{% if this.marker._name == 'Marker' and this.marker.icon %}
575
- const iconOptions = {{ this.marker.icon.options | tojson | safe }}
575
+ const iconOptions = {{ this.marker.icon.options | tojavascript }}
576
576
const iconRootAlias = L{%- if this.marker.icon._name == "Icon" %}.AwesomeMarkers{%- endif %}
577
577
opts.icon = new iconRootAlias.{{ this.marker.icon._name }}(iconOptions)
578
578
{% endif %}
You can’t perform that action at this time.
0 commit comments