Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Area above Mapkitplug isn't clickable
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tom Krones  
View profile  
 More options Sep 20 2011, 11:31 pm
From: Tom Krones <tkro...@gmail.com>
Date: Tue, 20 Sep 2011 20:31:20 -0700 (PDT)
Local: Tues, Sep 20 2011 11:31 pm
Subject: Area above Mapkitplug isn't clickable
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Giacomo Balli  
View profile   Translate to Translated (View Original)
 More options Sep 21 2011, 2:38 am
From: Giacomo Balli <giacomoba...@gmail.com>
Date: Tue, 20 Sep 2011 23:38:26 -0700 (PDT)
Local: Wed, Sep 21 2011 2:38 am
Subject: Re: Area above Mapkitplug isn't clickable
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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Krones  
View profile  
 More options Sep 21 2011, 9:07 am
From: Tom Krones <tkro...@gmail.com>
Date: Wed, 21 Sep 2011 08:07:18 -0500
Local: Wed, Sep 21 2011 9:07 am
Subject: Re: [PhoneGap] Re: Area above Mapkitplug isn't clickable

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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Krones  
View profile  
 More options Sep 21 2011, 10:50 am
From: Tom Krones <tkro...@gmail.com>
Date: Wed, 21 Sep 2011 09:50:21 -0500
Local: Wed, Sep 21 2011 10:50 am
Subject: Re: [PhoneGap] Re: Area above Mapkitplug isn't clickable

I verified that this is the problem.  I set the UIView to have a background
color and you can see the bar above the map.  I added a bug report to
github.

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.

If anyone wants to see mu code let me know, it removes the close button so
if you use that this version isn't for you.

Tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »