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:
3838 npm install
3939 npm run build
4040
41- - name : Install streamlit-folium
41+ - name : Install streamlit_folium dev dependencies
4242 shell : bash -l {0}
4343 run : |
44- cd streamlit_folium
45- pip install -e .
44+ conda install --file streamlit_folium/tests/requirements.txt
4645
47- - name : Install streamlit_folium dev dependencies
46+ - name : Install streamlit-folium
4847 shell : bash -l {0}
4948 run : |
50- pip install -r streamlit_folium/tests/requirements.txt
49+ cd streamlit_folium
50+ pip install -e .
5151
5252 - name : Install playwright dependencies
5353 shell : bash -l {0}
Original file line number Diff line number Diff line change @@ -570,9 +570,9 @@ class GeoJson(Layer):
570570
571571 {%- if this.marker %}
572572 function {{ this.get_name() }}_pointToLayer(feature, latlng) {
573- var opts = {{ this.marker.options | tojson | safe }};
573+ var opts = {{ this.marker.options | tojavascript }};
574574 {% 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 }}
576576 const iconRootAlias = L{%- if this.marker.icon._name == "Icon" %}.AwesomeMarkers{%- endif %}
577577 opts.icon = new iconRootAlias.{{ this.marker.icon._name }}(iconOptions)
578578 {% endif %}
You can’t perform that action at this time.
0 commit comments