maptiler/maptiler-geocoding-control

[BUG] Collapsed GeocodingControl icon width is 34px (should be 33px)

Closed this issue · 0 comments

Describe the bug
Collapsed GeocodingControl icon width is 34px which is inconsistent with the rest of the MapTiler's icons (which all have 33px width).

To Reproduce
Browser: Chrome

Code:

      const geocodingControl = new maptilersdkMaptilerGeocoder.GeocodingControl({
          collapsed: true
      });

      const map = new maptilersdk.Map({
          container: 'map',
          style: maptilersdk.MapStyle.BACKDROP,
          zoom: 1,
          center: [-15.5, 15.2],
          hash: true,
          maptilerLogo: false,
          maxBounds: [[-178, -80], [178, 80]]
      });

      map.addControl(geocodingControl, 'top-right');

Expected behavior
The width should be 33px, consistent with the rest of the icons.

Screenshots
Screenshot 2024-01-10 at 5 24 56 PM

Screenshot 2024-01-10 at 5 25 15 PM