Archive for March 4th, 2007


Mar

04

Google Maps API

I started my new job last Thursday and they wanted me to look into implementing Google Maps into the site. They wanted to plot on a map the location of each person who attended a conference. They currently have the attendee information stored in a database so I could get at it easy enough. I had never looked into the Google Maps API nor have I done much with Java-Script. The last few days I have been reading and messing around with it. I finally have an implementation that is working great. There is one issue that I have run into though. Under the map they want to have 2 drop down boxes. One for an industry type and another for the company size. I have the forms posting the form on change so that it will post the selected values of both drop down boxes using ajax, however I cannot seem to get the map to update when the drop down boxes are changed.

It does call the same server.php that the map calls when you move around the map to load only the points that are currently in view on the map. However the drop down boxes do not seem to do anything. I checked the URL that the drop downs create and they show new data however the map does not seem to update. If you have ever created a Google Maps implementation that interacted with a form please leave some comments with any help you could provide. I am going to do some more digging in the morning but so far I have been unable to find anything.

Once I learn a bit more about the Google Maps API I plan to write a well explained tutorial on how to use it with PHP and AJAX and what I have learned by diving in. This will be published on the new site once I get that up and running. I am just waiting for the domain transfer to go through at the moment.

Development, Entertainment, Internet, JavaScript, Raves.

Mar

04

PHP Articles and Tips & Tricks

I have been using this blog for everything from Mac to PHP to my everyday jokes etc. I am going to be starting up another blog that will be dedicated ONLY to PHP. This is where you will find all of my related PHP articles and code examples. I am also going to customize the site to have a question & answer section. Please do note that I am employed full time and run more than one site in my spare time along with having kids. Responses may not be very quick at first but I hope to get more PHP savvy people involved in the PHP site as well.

I am not looking to become the next large hit with the PHP site but I would like to be able to help more people learn and learn the right way.

Development, Entertainment, Internet, Local, News, PHP, Websites.


Technology Blogs - Blog Top Sites Add to Technorati Favorites Page Rank Tool NYPHP Users Group View Joseph Crawford's profile on LinkedIn

   

SEO Consultant SEO services