Closed waiwaiTaDady closed 4 years ago
What CSS files do you see loaded in the network traffic?
What CSS files do you see loaded in the network traffic?
arcgis api 3.29 dijit/measurement , i don‘t know how to set the style ,the css file was looaded but invalid
also, I'd start by just loading the CSS using static <link>
s in your HTML document. Once that works, you can then start looking into using loadCss()
.
@waiwaiTaDady were you able to get this resolved?
oh,thanks for attention about this.I did not find any good method to solve this problem,so....i take the most primitive method---using a Css cover the Measurement Css of ArcgisAPI ('Copy' the style).em.....you have some good solution?
when i use this dijit ,i lost the CSS,how to resolve this problem?thanks
componentWillMount(){ loadCss('http://localhost/arcgis_js_api/library/3.29/esri/themes/calcite/dijit/calcite.css'); loadCss('http://localhost/arcgis_js_api/library/3.29/esri/themes/calcite/esri/esri.css');//themes/calcite/esri/esri.css // desbugger // loadCss('3.29') }
render() { return (