mapbox / mapbox-gl-directions

Directions plugin for mapbox-gl-js using Mapbox Directions API.
https://mapbox.com/mapbox-gl-js/example/mapbox-gl-directions/
ISC License
239 stars 129 forks source link

broken style when using MapboxDirections and MapboxGeocoder #223

Open andrewharvey opened 5 years ago

andrewharvey commented 5 years ago

Screenshot from 2019-07-11 11-54-52

^ the mapbox-gl-geocoder style is broken when using MapboxDirections, the text and search icon overlap.

gerben-van-eck commented 5 years ago

I'm using this in a project at this moment, working fine, do you have the separate CSS file included, for example using:

link rel='stylesheet' href='//api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v4.4.1/mapbox-gl-geocoder.css' type='text/css'

gerben-van-eck commented 5 years ago

I must say I don't use the directions CSS, so this may actually still be an issue, I use the directions plugin through the API.

alexshk commented 5 years ago

PR for fixing this: 226