You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a kml file that uses html for the contents of the balloon when a place icon is clicked on. Here is an example.
<Placemark>
<name>Mulhacén II (3362m)</name>
<description>
<![CDATA[
<DIV style='max-width:400px; margin-right:10px; margin-bottom:10px; color:#674A32; font-family:Arial'>
<DIV style='font-size:11pt; font-weight:bold; text-align:left'>
Mulhacén II (3362m)<BR>
</DIV>
<DIV style='font-size:10pt; text-align:justify'>
<BR>
<IMG SRC='Info_MulhacenII.jpg' width='96px' height='120px' align='left' title='Summit of Mulhacén II' style='margin-right:10px'>
'Los Tres Miles' rank: 4<BR><BR>
Mulhacén II lies in Mulhacén's south ridge. It's summit is marked geodetic column.
</DIV>
</DIV>
]]>
</description>
<styleUrl>#Summit_Target</styleUrl>
<Point><coordinates>-3.3120817235360001,37.0442429896920018,0</coordinates></Point>
</Placemark>
When used with Google maps or Google Earth the balloon expands to fit the text and graphic.
Unfortunately the with this plug in, unless the text is long enough to wrap around the image, the image will extend beyond the balloon. Like this...
This is what it looks like in Google Earth....
You'll also notice that Google Earth is not showing the placemark name. It has been deliberately disabled so that I could have more control over it. Here's the KML that defines styling on the placemark and balloon.
Hi
Nice plug in.
I have a kml file that uses html for the contents of the balloon when a place icon is clicked on. Here is an example.
When used with Google maps or Google Earth the balloon expands to fit the text and graphic.
Unfortunately the with this plug in, unless the text is long enough to wrap around the image, the image will extend beyond the balloon. Like this...
This is what it looks like in Google Earth....
You'll also notice that Google Earth is not showing the placemark name. It has been deliberately disabled so that I could have more control over it. Here's the KML that defines styling on the placemark and balloon.
Any useful suggestions as to how I can reproduce this with the leaflet plugin. I'm wanting to use the same KML file for both Google Maps and Leaflet.
Many thanks
Derek
The text was updated successfully, but these errors were encountered: