#StackBounty: #ios #swift #mapbox #geocoding #mapbox-ios Does Mapbox Geocoding API iOS reverse geocode on large bodies of water (Oceans)?

Bounty: 50

I am using Mapbox’s Geocoding API on iOS (Swift) to reverse geocode coordinates. I have been able to make it work for any land coords, but when on the ocean my code does not run (or print the placemark):

        let task = geocoder.geocode(options) { (placemarks, attribution, error) in
            guard let placemark = placemarks?.first else { return }

            print(placemark.name)
          }

So is this not supported by the API or is there something I am not seeing, or is there an alternative to this?

I have read their API Documentation and could not find anything…


Get this bounty!!!

#StackBounty: #css #hover #maps #mapbox #mapbox-gl-js remove background-color on hover in css from mapbox maps

Bounty: 50

I am working on mapbox maps https://jsfiddle.net/kpcxqo9s/embedded/result which on hover gives the purple background color.

The CSS code which I have used in the entire fiddle is:

.box {
  width: 300px
}
.riding
{
}
  font-weight: bold
p, h1, #controls li label {
          font-family: nexa,arial,helvetica;
}
h1 {
  font-size: 24px;
}
p {
  font-size: 14px;
}
#controls li label {
  font-size: 14px;
}

.mapboxgl-canvas:hover {
background-color: #0000ff !important;
}

Problem Statement:

I am wondering what changes I need to do in the fiddle so that on hover it doesn’t show any background color. At this moment,
it is showing purple.

This is what I have added in the code but it didn’t work.

.mapboxgl-canvas:hover {
background-color: #0000ff !important;
}


Get this bounty!!!