Question on infowindow_content of Google Map API V3 |
[eluser]Desmond[/eluser]
Hello everyone, currently I am working on a project of map search. I am using the google map library from Steve (http://biostall.com/codeigniter-google-m...pi-library) It's really great library. However, I faced with two problems. I will be very pleased if you can help me. 1. I tried to add the hyperlink into info_window, but it can't be worked, no google map shown. Code: $marker['infowindow_content']='<a href="http://www.google.com">Google</a>' However, when I changed to Code: $marker['infowindow_content']='<h1>Hello World</h1>' How can I add the hyperlink into info_window by a correct way? 2. I have several shop address at the same building that is using the same latitude and longitude. How can I show their info on the same $infowindow_content? Currently, I am using the code: Code: foreach ($query->result() as $row) { However, the old infowindow_content will be replaced by new infowindow_content using this method. Any idea of how can we show multi-information into the same infowindow when using the same latitude and longitude? Thanks so so much in advance. |
Messages In This Thread |
Question on infowindow_content of Google Map API V3 - by El Forum - 02-02-2012, 11:29 AM
Question on infowindow_content of Google Map API V3 - by El Forum - 02-02-2012, 03:58 PM
Question on infowindow_content of Google Map API V3 - by El Forum - 02-03-2012, 12:40 AM
Question on infowindow_content of Google Map API V3 - by El Forum - 02-03-2012, 10:08 AM
|