Note that there are some explanatory texts on larger screens.

plurals
  1. POGoogle Maps Javascript API V3 how to Placemark show name only
    text
    copied!<p>As a Title, I want show Placemark with Name field. Basically, google map show Placemark with blue balloons. but i don't wanna see this blue ballons. Just show Name only like google earth. is it possible with google maps javascript api?</p> <p>=============KML===============</p> <pre><code>&lt;Folder&gt; &lt;name&gt;Point Features&lt;/name&gt; &lt;description&gt;Point Features&lt;/description&gt; &lt;Placemark&gt; &lt;description&gt;&lt;![CDATA[LABEL&lt;BR&gt;&lt;BR&gt;&lt;B&gt;ELEVATION&lt;/B&gt; = -2147483648.0000000]]&gt;&lt;/description&gt; &lt;name&gt;lnd_a&lt;/name&gt; &lt;Point&gt; &lt;coordinates&gt;126.3680042851,34.7669071990,-2147483648.000&lt;/coordinates&gt; &lt;/Point&gt; &lt;/Placemark&gt; &lt;!-- MY KML FILE HAS MORE LINE --&gt; &lt;/Folder&gt; </code></pre> <p>=============Script Source===============</p> <pre><code>&lt;script type="text/javascript"src="https://maps.google.com/maps/api/js?sensor=false"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; function initialize() { var latlng = new google.maps.LatLng(34.7958078334,126.4441270970); var myOptions = { zoom: 14, center: latlng, mapTypeId: google.maps.MapTypeId.SATELLITE }; var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); var ctaLayer = new google.maps.KmlLayer('http://MYSITES/kml/101.kml'); ctaLayer.setMap(map); } </code></pre> <p></p> <p><img src="https://i.stack.imgur.com/RrVMk.png" alt="Google Maps in Chrome Web"> In Chrome Google Map Placemark shown with blue ballons.</p> <p><img src="https://i.stack.imgur.com/aHiky.jpg" alt="Google Earth Placemark"> In Google Earth Placemark shown with just name.</p> <p>These screenshot base on same KML file.</p> <p>How to show only name with Google Maps in Browser??</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload