Skip to main content

I'm starting with background color as a test, since it takes html I thought this would change the balloon BG color but it's not working.

 

<html>
<body bgcolor="#E6E6FA">
<img src="https://seamlessrnc.nauticalcharts.noaa.gov/rnc/noaa_ocs_small_banner.jpg"></a>
<BalloonBGColor = '-1' BalloonFGColor = '-16777216' BalloonBGColorField = ''red" >
</body>
</html>

 

Hi @jhawks

Would you like to work with Watermark in KML? Like this Link https://knowledge.safe.com/articles/20209/kml-screenoverlay-watermark.html

Thanks,

Danilo


arc2earth-popup.jpgfme-popup.jpg I've got watermarks working, this is about formatting of kml popup balloons. I'm to recreate as much possible the arc2earth popup balloon in my new kmz created by fme.


arc2earth-popup.jpgfme-popup.jpg I've got watermarks working, this is about formatting of kml popup balloons. I'm to recreate as much possible the arc2earth popup balloon in my new kmz created by fme.

Did you see this link https://knowledge.safe.com/articles/18754/kml-balloon-contents-removing-directions.html ?

 

 

And this Balloon width ?

 

 

 

 

Thanks,

 

Danilo

 

 


I have looked at both of them but they don't quite have the in depth formatting I want. I was able to add an image, and remove the balloon title, but for example if I want to remove the grey background from every other record how would I do that. Not crucial but if it takes full html formatting there should be a way.


I have looked at both of them but they don't quite have the in depth formatting I want. I was able to add an image, and remove the balloon title, but for example if I want to remove the grey background from every other record how would I do that. Not crucial but if it takes full html formatting there should be a way.

Hi @jhawks

 

 

OK, could you send me the Workspace template?

 

 

Thanks

 

Danilo

 


Hi @jhawks

In the KMLPropertySetter, you can create and customize an HTML table in the Content parameter. I found it easiest to copy an attribute table for a feature from an existing KML document and edit it directly. I believe the <tr bgcolor="#E3E3F3"> is the correct tag to change if you wish to remove the background colour. Remember to change the Content Type to HTML and disable 'Include Attribute Table'.

There may be an easier way to change the row's background colour that I'm not aware of. If someone knows, please feel free to comment.

Hope this helps.


noaa-rncs-shape-kml.fmwt

Sure, see attached.


noaa-rncs-shape-kml.fmwt

Sure, see attached.

Hi @jhawks

 

Please see the attached fmwt for a background-less table within the balloon

 

noaa-rncs-shape-kml-notablebackground.fmwt

 

 

I would also suggest looking at the KML Documentation if you wish to format the balloon further https://developers.google.com/kml/documentation/kmlreference#balloonstyle

Thanks! Very helpful. I still have some formatting to do but should be easy now! I kept trying to do full html in content. This should be close enough to get me thru it, thanks again!


Reply