This topic is locked
[SOLVED]

 Google Maps displaying Multiple Markers

10/20/2014 6:54:14 AM
PHPRunner General questions
G
gagsoft author

Hi Guys

I have tried the insert Google Map and have gone through all the settings with no joy

  1. Changed the Address view format to Map.
  2. Mapped the Latitude and longitude fields in the editor of the list page.
  3. inserted include_once("geocoding.php"); in the List page: Before process.
  4. Ran http://mywebsite.com/mytable_list.php?geocoding=1 which updated all the Lat. Long. fields perfectly.
  5. inserted a google map in the header of the list page with following script:

    $mapSettings["Address"] = "Address";

    $mapSettings["Latitude"] = "Latitude";

    $mapSettings["Longitude"] = "Longitude";

    $mapSettings["width"] = 400;

    $mapSettings["height"] = 300;

    $mapSettings['Company'] = 'Description';

    $mapSettings['showCenterLink'] = 1;

    $mapSettings['centerLinkText'] = 'Center';

    DisplayMap($mapSettings);
    All the inline maps are displaying perfectly but the header map that is supposed to show the multiple markers does not show anything.

    It opens on GPS 0.00000, 0.000000.

    The only conclusion that I can make from this is that it does not get any values from the table and that I might have put "include_once("geocoding.php");" into the wrong event.
    Any pointers on this would be appreciated.