brentvatne / react-native-overlay

An <Overlay /> component that brings content inside to the front of the view regardless of its current position in the component tree.
638 stars 79 forks source link

Overlay Size #32

Closed brentkirkland closed 8 years ago

brentkirkland commented 8 years ago

This is a quick question, but is it possible to change the size of the overlay layer? I'm trying to overlay a pin on a map (like uber or lyft) but the overlay covers the whole MapView which prevents map movement. Is there are way to make the overlay the size of the View I'm centering on the map?

brentkirkland commented 8 years ago

Just kidding. Found out I could adjust the overlay size in Overlay.ios.js