I need to change the default icons (zoom and attribution) and the search icon (with search box) for ol-ext on my Map. In which way can I do that?
How to change the default icons in openlayers 6 and ol-ext?
749 Views Asked by c.durso At
1
There are 1 best solutions below
Related Questions in OPENLAYERS
- How to easily create a heatmap layer from a pre-existing vector layer of points in OpenLayers 3?
- OpenLayers print function not working
- Geolocation with openlayers limits
- Temporary tiles cache for Mapserver
- Visibility of layers in OL 3.6.0
- Selenium Web Driver and OpenLayers 2.x: how to do a identify on a map?
- Openlayers with google map layer - points zoom before the map?
- How to create a pdf file with openlayers div
- source clear BUG in OpenLayers 3
- Add custom wms layer to codename one Mapcontainer
- Handling slow internet connection with Openlayers 2
- Open Layers doesn't show the label in the given lat, lon
- Openlayers, javascript
- SAXParseException Geoserevr SLD error
- Can Tableau send the WMS GetFeatureInfo request back to WMS server?
Related Questions in OPENLAYERS-6
- How to add style in polyline in openLayers?
- Openlayers 6.4 how to fire select event on every click on the same feature?
- Openlayers Pbf vector tiles bad performance
- How to dynamically add multiple vector layers to a layer group in ol6?
- Event to find out all feature successfully loaded to the layer
- How to declare openlayers map object globally
- Openlayers XYZ not supporting different tileSizes for the same map instance, 512 and 256
- Openlayer On zooming map image, filter & get only visible areas on Map
- vue3-openlayers - direction arrow on lineString as a single feature
- with openlayers 6.12 the number of features in the clusters is artificially doubled when I zoom out twice quickly
- How to move the text to top left instead of the bottom left corner in a openlayers feature?
- Multiple filters with WebGL PointsLayer on Openlayers
- How to measure the distance from center of a circle to the edge in openlayers
- How to change the default icons in openlayers 6 and ol-ext?
- How do I change the style of a circle to have an icon of similar size inside of it?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The zoom control does not use icons, the + and - are text, but you can specify an element using the
zoomInLabelandzoomOutLabeloptions https://openlayers.org/en/latest/apidoc/module-ol_control_Zoom-Zoom.html In the case of attribution the equivalent options arelabelandcollapseLabelhttps://openlayers.org/en/latest/apidoc/module-ol_control_Attribution-Attribution.html In ol-ext the icon is thebackground-imagein the css, so you would need to use you own css to update it.