|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
p17blo Smarty n00b
Joined: 03 Aug 2007 Posts: 1
|
Posted: Fri Aug 03, 2007 10:18 pm Post subject: Assistance with Google Map Class Setup |
|
|
Hi there,
I downloaded the Google Map Class files recently and have been trying to set them up.
I am using a WAMP server locally and do not run PEAR. I can connect to a MySQL DB but have never done so using a DSN as in your files. I am unable to run the class as I get errors relating to attaching to the DB, then API key issues (I have entered my own API key) and then lastly javascript errors (I have no idea why as I run javascript all over). I am using Firefox as my default browser.
I would like to setup just a small number of markers with the ability to get directions to/from these markers.
Any assistance appreciated.
Paul |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Fri Aug 03, 2007 10:26 pm Post subject: |
|
|
The latest CVS version addresses a small javascript error if you are using the built-in directions features.
As for PEAR DB, you can install it separately from PEAR, just drop the files where you'd like them and include DB class file. Its also possible to extend the GoogleMapAPI class and make your own DB connection functions. |
|
Back to top |
|
ronberry Smarty n00b
Joined: 10 Oct 2007 Posts: 3
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|