| Both sides previous revisionPrevious revision | |
| en:places:cho_noi_cai_rang [2024/10/29 19:16] – benoit | en:places:cho_noi_cai_rang [2026/11/10 11:35] (current) – Map: keyless Google Maps iframe for the Cai Rang floating market (the old http Maps API script failed, google is not defined, and pointed at the Can Tho market hall) scheduler |
|---|
| just aligned to the left, no wrapping | just aligned to the left, no wrapping |
| <html> | <html> |
| --------> a script as generated by http://www.map-embed.com/ (height: 300px; width: 400px) | --------> an iframe: Google Maps → Share → Embed a map, or https://www.google.com/maps?q=<place>&z=15&output=embed (width 400, height 300) |
| </html> | </html> |
| |
| or floating on the left, with text wrapping to the right | or floating on the left, with text wrapping to the right |
| <html><div style=""> | <html><div style=""> |
| --------> a script as generated by http://www.map-embed.com/ (height: 300px; width: 400px) | --------> an iframe: Google Maps → Share → Embed a map, or https://www.google.com/maps?q=<place>&z=15&output=embed (width 400, height 300) |
| </div></html> | </div></html> |
| */ | */ |
| <html> | <html> |
| <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script><div style="overflow:hidden;height:300px;width:400px;"><div id="gmap_canvas" style="height:300px;width:400px;"></div><style>#gmap_canvas img{max-width:none!important;background:none!important}</style><a class="google-map-code" href="http://www.map-embed.com" id="get-map-data">map-embed.com</a></div><script type="text/javascript"> function init_map(){var myOptions = {zoom:16,center:new google.maps.LatLng(10.031482051173045,105.78817437486873),mapTypeId: google.maps.MapTypeId.ROADMAP};map = new google.maps.Map(document.getElementById("gmap_canvas"), myOptions);marker = new google.maps.Marker({map: map,position: new google.maps.LatLng(10.031482051173045, 105.78817437486873)});infowindow = new google.maps.InfoWindow({content:"<b>Cần Thơ market hall</b><br/>144 Hai Bà Trưng, P. Tân An<br/> Cần Thơ" });google.maps.event.addListener(marker, "click", function(){infowindow.open(map,marker);});infowindow.open(map,marker);}google.maps.event.addDomListener(window, 'load', init_map);</script> | <iframe src="https://www.google.com/maps?q=Ch%E1%BB%A3+n%E1%BB%95i+C%C3%A1i+R%C4%83ng%2C+C%E1%BA%A7n+Th%C6%A1&z=15&output=embed" width="400" height="300" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade" title="Chợ nổi Cái Răng"></iframe> |
| </html> | </html> |
| |
| /* paragraph re/ the place */ | /* paragraph re/ the place */ |
| |