I fixed the problem for me by removing the UIView and the UIButton. Without
them and only the MKMapView the unclickable area is gone. I also removed
the weird offsetTop divided by 2 because it doesn't make sense and the
offset now works correctly.
On Wed, Sep 21, 2011 at 8:07 AM, Tom Krones <tkro
...@gmail.com> wrote:
> Right. I'm not editing the map or using css to try to manipulate it. I
> realize the map is a native mapkit instance.
> There is a transparent section directly above the map that is blocking
> clicks from getting to web app. The transparent section is about 15 pixels
> tall and the width of the map. I've been looking in the code (I'm not that
> familiar with objc) and there seems to be a parent UIView that contains
> and MKMapView and a UIButton. My guess is the UIButton is causing
> the UIView to be taller then the map and causing that unclickable area.
> On Wed, Sep 21, 2011 at 1:38 AM, Giacomo Balli <giacomoba...@gmail.com>wrote:
>> the plugin places the map as an overlay to your map therefore you cant
>> edit it with css, only from objc
>> On Sep 21, 5:31 am, Tom Krones <tkro...@gmail.com> wrote:
>> > I'm using the MapKitPlag plugin. If I use offsetTop to push the map
>> > down from the top of the screen, there is transparent bar with a
>> > height of approximately 15px above the map that isn't clickable.
>> > Meaning, if you have a button directly above the map, you can't click
>> > on it.
>> > I have noticed that if you click on the right side of the transparent
>> > bar, the buttonCallback function is called so I assume the transparent
>> > bar is a container for the close button. How can I remove the close
>> > button?
>> > Has anyone else had this issue? Is there a way to remove the
>> > transparent bar?
>> > Thanks.
>> --
>> You received this message because you are subscribed to the Google
>> Groups "phonegap" group.
>> To post to this group, send email to phonegap@googlegroups.com
>> To unsubscribe from this group, send email to
>> phonegap+unsubscribe@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/phonegap?hl=en?hl=en
>> For more info on PhoneGap or to download the code go to www.phonegap.com