Google Groups Home
Help | Sign in
poly overlay from kml & TLabel
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
  3 messages - Collapse all
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
ericas  
View profile
 More options May 8, 12:01 pm
From: ericas <eri...@hughes.net>
Date: Thu, 8 May 2008 09:01:44 -0700 (PDT)
Local: Thurs, May 8 2008 12:01 pm
Subject: poly overlay from kml & TLabel
Hello,

I have a rough test map here  - http://www.genresourcesonline.com/labemap.htm

I have counties outlined and I am trying to use the TLabel script to
put in the names of the counties with a link to a page.

My problem is that I can not figure how to put the label over the
poly.  I have used a variety of z-index entries but no success.  I
would really like to put the label over the poly overlay first of so
it would be more visible and secondly so that I could you a link.

I am a novice at this and I have spent a day on it trying different
things.  If someone could give my some assistance I would greatly
appreciate it
Thanks!


    Reply to author    Forward  
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.
Mike Williams  
View profile
 More options May 8, 2:04 pm
From: Mike Williams <nos...@econym.demon.co.uk>
Date: Thu, 8 May 2008 19:04:53 +0100
Local: Thurs, May 8 2008 2:04 pm
Subject: Re: poly overlay from kml & TLabel
You could change your copy of the code of tlabel to place the label on a
higher plane, by replacing occurrences of G_MAP_MAP_PANE with, say,
G_MAP_FLOAT_SHADOW_PANE.

What happens is that the map planes each have their own z-index value.
The z-index of an element only changes its position relative to other
elements in the same pane. This allows the markers on G_MAP_MARKER_PANE
to use the whole range of z-index values without any possibility of them
going above the info window graphics which are on G_MAP_FLOAT_PANE.

ELabels are placed on G_MAP_FLOAT_SHADOW_PANE which ensures that they
are above everything except the info window and the invisible click
targets of the markers.

--
http://econym.googlepages.com/index.htm
The Blackpool Community Church Javascript Team


    Reply to author    Forward  
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.
ericas  
View profile
 More options May 8, 10:08 pm
From: ericas <eri...@hughes.net>
Date: Thu, 8 May 2008 19:08:15 -0700 (PDT)
Local: Thurs, May 8 2008 10:08 pm
Subject: Re: poly overlay from kml & TLabel

Thanks a bunch for your reply.  I couldn't get that to work either.
So I ended up using your ELabel script instead and worked great!!

Thanks!


    Reply to author    Forward  
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 »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google