Translate posts to Experimental | Feedback
Google
Official Google Earth Download Site
Topic Options
Rate This Topic
Previous Topic
View All Topics Index
Next Topic
#646372 - 11/01/06 06:26 AM display a long Name for the placemark
bigsmoove Offline
Traveler

Registered: 11/01/06
Posts: 6
Hi,
Is there way to "wrap" or <BR> the Name field, rather than it be one long line of text? Either that, or can I show the Description field automatically when the Placemark is shown, along with the name? Here's an example of the placemark. The goal is to create this movie and have it able to show on a plama tv... MUCH appreciated! -ck

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Placemark>
<name>Daytona Beach: Heavy Equipment, Power Systems, Lift Truck, Cat Rental</name>
<address>401 N Tomoka Farms Rd, Daytona Beach, FL 32124</address>
<description>Daytona Beach: Heavy Equipment, Power Systems, Lift Truck, Cat Rental 401 N. Tomoka Farms Rd, Daytona Beach, FL</description>
<LookAt>
<longitude>-81.08753251143365</longitude>
<latitude>29.16780204443693</latitude>
<altitude>0</altitude>
<range>575.3572832898178</range>
<tilt>28.54324291111581</tilt>
<heading>84.97104563111878</heading>
</LookAt>
<Style>
<IconStyle>
<scale>1.1</scale>
<Icon>
<href>http://maps.google.com/mapfiles/kml/pal3/icon63.png</href>
</Icon>
</IconStyle>
<LabelStyle>
<scale>1.1</scale>
</LabelStyle>
</Style>
<Point>
<coordinates>-81.087946,29.16968,0</coordinates>
</Point>
</Placemark>
</kml>

Top
#646373 - 11/01/06 12:43 PM Re: display a long Name for the placemark [Re: bigsmoove]
tekgergedan Moderator Offline
Master Guide

Registered: 09/25/05
Posts: 8353
Loc: Turkey GMT+2
Welcome

We cant use <br> within the name. Instead, you can use the snippet.

<name>Daytona Beach</name>
<Snippet maxLines="2">Heavy Equipment, Power Systems, Lift Truck, Cat Rental</Snippet>

and, then, arrange the description as you wish.

_________________________
...
...
what you are is what you eat and what you think ...
...
Install 5.1 and be aware you can switch back ...
...
some help :: more help :: further help :: advanced help :: interactive help ...
...
developer help :: elf help :: full help ...

Top
#646374 - 11/01/06 07:14 PM Re: display a long Name for the placemark [Re: tekgergedan]
bigsmoove Offline
Traveler

Registered: 11/01/06
Posts: 6
hey man. thanks for the reply... that <snippet> tag wont display on the placemark itself on my map, will it? only on the "places" listed on my left side?

thanks again!!!!
ck

Top
#646375 - 11/02/06 03:07 AM Re: display a long Name for the placemark [Re: bigsmoove]
tekgergedan Moderator Offline
Master Guide

Registered: 09/25/05
Posts: 8353
Loc: Turkey GMT+2
Yes, you are right. Thats a solution to long names that I can think of.
_________________________
...
...
what you are is what you eat and what you think ...
...
Install 5.1 and be aware you can switch back ...
...
some help :: more help :: further help :: advanced help :: interactive help ...
...
developer help :: elf help :: full help ...

Top
#646376 - 11/02/06 10:09 AM Re: display a long Name for the placemark [Re: tekgergedan]
bigsmoove Offline
Traveler

Registered: 11/01/06
Posts: 6
many thanks...! hope customer likes this answer.

is there a way to make that balloon appear automatically during a tour when it comes to each placemark? that could be a workaround if so.

thanks again!
ck

Top
#646377 - 11/02/06 10:13 AM Re: display a long Name for the placemark [Re: bigsmoove]
tekgergedan Moderator Offline
Master Guide

Registered: 09/25/05
Posts: 8353
Loc: Turkey GMT+2
Sorry, I should have not replied because for some time I am giving negative answers to questions.

Balloons be automatically opened is a frequently asked wish and I think the GE staff likes the idea. But not possible on this version.
_________________________
...
...
what you are is what you eat and what you think ...
...
Install 5.1 and be aware you can switch back ...
...
some help :: more help :: further help :: advanced help :: interactive help ...
...
developer help :: elf help :: full help ...

Top
#646378 - 11/02/06 11:20 AM Re: display a long Name for the placemark [Re: tekgergedan]
Bruno_Bowden Offline
Master Guide

Registered: 03/11/04
Posts: 205
The only workaround I can think of is to replace the icon of the placemark with an image of the text you want to display. That's time consuming but very flexible.

Top
#646379 - 11/02/06 02:24 PM Re: display a long Name for the placemark [Re: Bruno_Bowden]
bigsmoove Offline
Traveler

Registered: 11/01/06
Posts: 6
hey thats a great idea man...much appreciated! let me run that by the client! this forum rocks!

Top