Google map integration with CI |
03-15-2015, 01:19 AM
(This post was last modified: 03-15-2015, 04:07 AM by ivantcholakov. Edit Reason: A correction of my statement )
@pankajdurve
Your code looks as finished as an idea, you simply have to debug it. Code: $(document).ready(function() { ... } Code: $(function() { ... }); Code: bord_data = JSON.parse(data); Edit: It is needed, but I am not sure what do you do about escaping data. If I had the data on the server side I would write something like this: Code: bord_data = <?php echo json_encode($data); ?>; Try to make code to run first without the info window, add the code for info window when showing the map and the marker is ok. See how this example works, make a comparison: http://ivantcholakov.entrydns.org/starte...le-maps-v3 https://github.com/ivantcholakov/starter...cripts.php |
Messages In This Thread |
Google map integration with CI - by pankajdurve - 03-14-2015, 12:11 PM
RE: Google map integration with CI - by ivantcholakov - 03-14-2015, 02:08 PM
RE: Google map integration with CI - by pankajdurve - 03-14-2015, 09:52 PM
RE: Google map integration with CI - by ivantcholakov - 03-15-2015, 01:19 AM
RE: Google map integration with CI - by ivantcholakov - 03-15-2015, 05:47 AM
RE: Google map integration with CI - by ivantcholakov - 03-15-2015, 06:54 AM
|