Rossko,

thank you very much for the answer.

I knew what was in my KML since I have programmed the tool which produced it 
:-). So it was clear that "My Maps" itself was adding the unwanted 
information.

Nevertheless, I suspected the KML to be responsible the other way around: 
Let's assume that there exists some KML tag which normally contains the 
"unwanted information", but that I didn't use that tag in my KML file (due 
to my restricted knowledge of KML). Thus, "My Maps" would put some "default 
information" into the info window because I did not define this information 
explicitely. Well, there could even have been a KML tag which says "don't 
display default information in the info window of that placemark".

Some months ago, I had a deep look into the KML specification (in fact, I 
have read most part of the schema), but did not see any tags which could be 
used for this purpose. But you never can be sure if you didn't miss 
something, so I just wanted to confirm.

The image content of the description tag was a dummy for internal testing. I 
needed the KML only to set the placemarks to the correct places; I used to 
add the description in the info windows manually (HTML code including the 
images which are sourced from some web space).

The link you have give is very valuable. Obviously, when loading the KML 
into a map by JavaScript, no additional, unwanted information is added to 
the placemarks' info windows, as opposed to loading the KML into the map via 
"My Places". So I will try to load the maps and the KML into my website 
directly by JavaScript instead of pre-generating it in "My Places" and then 
link to it.

That forces me to add all the HTML for the info window into the description 
fields of all placemarks in the KML file before uploading it, but that will 
probably lead to a better quality of the info windows content, so I can live 
with it :-) The disadvantage is that typos in the info window can't be 
corrected quickly: I would have to correct the KML and to re-upload it.

@Google (if somebody reads this): It would be nice to have some options in 
the "My Places" GUI to set properties of the info window. Much has been 
achieved already (it's astonishing how easy the symbol for the placemark can 
be changed and so on), but there should be at least an option for the info 
windows to suppress unwanted information and links. These are eating much of 
precious space, and it's an privacy issue, too.

Thanks for helping!

Binarus

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/skz_q4N19wsJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to