How do I eliminate the 'Title' from my balloon?

242 views
Skip to first unread message

Cutters43

unread,
Nov 12, 2008, 8:23:53 PM11/12/08
to KML Developer Support - Getting Started with KML
How do I eliminate the folder "Title" from appearing in my balloon? I
want to be able to see the "Title" in the hierarchy, but not at the
top of the balloon when it opens.


Also, how do I keep all the folders from opening in Google Maps?
They don't auto open in Google Earth. I have <visibility> set to 0.

Any helpful hints? Ideas? Anything?

Here is what I am working on.

http://bbs.keyhole.com/ubb/showflat.php?Cat=&Number=1259550&page=0&vc=1&PHPSESSID=7ut9rlpl9822vak2mk63latp75#Post1259550

Bocha10

unread,
Nov 13, 2008, 12:46:44 PM11/13/08
to KML Developer Support - Getting Started with KML
As far as I can tell there is no way of removing the name tag (Title)
content from the balloon and keeping it in the left pane hierarchy.
You can remove it by leaving the name tag blank, but it will not
appear also in the left pane.

The visibility tag is to make the icons visible (if true) or invisible
(if false) when the kml file is rendered. In my experience it works as
intended in google earth but is ignored in Google Maps.
However, it is not the tag that controls if the folders are rendered
opened or closed. For that you need to use the open tag.
Here you are experiencing the difference in support and kml parsing of
Google Earth vs Google Maps.
Google Earth it seems to me that by default leaves the folders closed
if the open tag is not included. You only included in the top most
folder (SEPTEMBER).
In Google Maps, in my experience, if the open tag is not included it
inherits the state of the parent folder, so you need to include the
statement
<open>0</open>
for every single container that you want to remain closed upon intial
rendering of the kml file.

You can learn more about the differences of kml rendering and support
for GE and maps here
http://code.google.com/apis/kml/documentation/kmlelementsinmaps.html
and here
http://code.google.com/apis/kml/documentation/mapsSupport.html

On Nov 12, 8:23 pm, Cutters43 wrote:
> How do I eliminate the folder "Title" from appearing in my balloon?  I
> want to be able to see the "Title" in the hierarchy, but not at the
> top of the balloon when it opens.
>
> Also, how do I keep all the folders from opening in Google Maps?
> They don't auto open in Google Earth.  I have <visibility> set to 0.
>
> Any helpful hints? Ideas?  Anything?
>
> Here is what I am working on.
>
> http://bbs.keyhole.com/ubb/showflat.php?Cat=&Number=1259550&page=0&vc...

Noisette

unread,
Nov 13, 2008, 1:55:17 PM11/13/08
to KML Developer Support - Getting Started with KML
Cutters43 sent me a message about this, so I already answered him that
he needs to use <BalloonStyle> to remove the <name> (title) from the
balloon:
http://code.google.com/apis/kml/documentation/kmlreference.html#balloonstyle

As far as I'm aware neither <open> nor <visibility> works in Google
Maps.

On Nov 13, 2:23 am, Cutters43 wrote:
> How do I eliminate the folder "Title" from appearing in my balloon?  I
> want to be able to see the "Title" in the hierarchy, but not at the
> top of the balloon when it opens.
>
> Also, how do I keep all the folders from opening in Google Maps?
> They don't auto open in Google Earth.  I have <visibility> set to 0.
>
> Any helpful hints? Ideas?  Anything?
>
> Here is what I am working on.
>
> http://bbs.keyhole.com/ubb/showflat.php?Cat=&Number=1259550&page=0&vc...

Bocha10

unread,
Nov 13, 2008, 2:44:54 PM11/13/08
to KML Developer Support - Getting Started with KML
Thank you for the info on BallonStyle. According to
http://code.google.com/apis/kml/documentation/kmlelementsinmaps.html
it is not supported in Google maps, but at least he should be able to
use it in GE.
I have not actually confirmed if the information in that link is
accurate.

It is correct that visibility is not supported in Google Maps, however
the open tag is supported as long as it is used throughout all the
nested containers as explained in my previous post.
If the open tag is left out in a subfolder, then the subfolder
inherits the value of the parent folder. That is what is happening to
Curtess34 because he only set the open tag as open in the first folder
and left it out in all remaining subfolder.

On Nov 13, 1:55 pm, Noisette wrote:
> Cutters43 sent me a message about this, so I already answered him that
> he needs to use <BalloonStyle> to remove the <name> (title) from the
> balloon:http://code.google.com/apis/kml/documentation/kmlreference.html#ballo...
Reply all
Reply to author
Forward
0 new messages