Does Google Maps respect the definition in KML?

后端 未结 3 1236
Happy的楠姐
Happy的楠姐 2021-01-07 00:30

I\'m using the GGeoXml object to overlay KML on an embedded Google Map. I need to customize the popup balloon for placemarks, so I\'m trying to use the

相关标签:
3条回答
  • 2021-01-07 01:09

    Actually, the document referenced above (http://code.google.com/apis/kml/documentation/kmlelementsinmaps.html) must have changed, b/c now it says:

    <BalloonStyle> partially only <text> is supported

    My problem is that the <text> seems to work for one KML file, but not another. The one that works for has polygon placemarkers, the other has points represented by icons - I wonder if that is why...

    0 讨论(0)
  • 2021-01-07 01:14

    No, like you have mentioned, html in the description is the only way I know that you can control the style of balloons through kml/georss feed.

    0 讨论(0)
  • 2021-01-07 01:26

    This is now documented here (2009/04):

    http://code.google.com/apis/kml/documentation/kmlelementsinmaps.html

    • < BalloonStyle > no

    (When did you ask this ? This forum/service needs a big fat DATE on each question, with a year in it :-) )

    2$c, *pike

    0 讨论(0)
提交回复
热议问题