Search code examples
iosmapkitgpuimage

Gaussian Blur over MKMapKit


It seems like everything I've found for Gaussian blur requires an image or video like GPUImage. Does anyone know of either a fork of GPUimage or an approach for placing a gaussian blur over a region of an MKMapKit map? The goal is that the map can still be zoomed and dragged around without noticeable lag.


Solution

  • You should try an approach of taking a snapshot of the map by asking its layer to renderInContext and handing those contents over to GPUImage. This should be performant.