Closed bigalnz closed 3 years ago
For working with search widget without a map the best answers are on GeoNET, for example take a look at this post and samples, it's a bit older but the concepts still apply: https://community.esri.com/thread/231579-how-to-get-search-widget-responses-lat-long-in-arcgis-api-for-javascript.
For styling you'll need to use our saas library and manually figure out which properties to override: https://developers.arcgis.com/javascript/latest/guide/styling/ and https://github.com/Esri/jsapi-resources/blob/master/4.x/npm/demo/SASS.md. If you have questions about using saas with the ArcGIS API for JavaScript the best place is also on GeoNET since widget CSS works independent of any JS framework.
So the two repos on here for calcite-bootstrap and bootstrap-map-js do not help at all with styling a input widget?
I don't recommend them. They aren't up-to-date and they aren't maintained.
Closing...
I have managed to add a search widget to the Angular github sample. My modified code looks like:
How would I add the search widget to the web page without a map?
I would also like my search widget to have the same styling (css?) as the rest of my inputs which are bootstrap.
How would I override the styling so all my inputs are consistent in look and theme?