Error when trying to use a google maps library

I'm trying to use this library and so I put the files in the fuel/application/libraries folder and when I try to load the library by calling $this->load->library('Gmap');

I get this error:
Severity: Notice Message: Undefined index: Gmap Filename: fuel/Loader.php Line Number: 206 Fatal error: Cannot access empty property in project/fuel/application/third_party/fuel/Loader.php on line 215


  • edited 1:55PM
    I think it's because the filename provided in the download is GMap and the class name is Gmap. Try changing the file name to Gmap.
  • Changing the filename to Gmap and then calling it using lowercase like this $this->load->library('gmap'); worked.
Sign In or Register to comment.