Mark Holtz
03-18-09, 12:02 PM
I hate it when a kludged script breaks....
I'm mostly a PHP coder (self-taught), and really need to learn JavaScript. Unfortunately, I still have a lot of work to do, and JavaScript is not a priority. Theres most of my problem.
The website that I maintain, District 39 Toastmasters (http://www.district39.org/) stores location and club info with a latitude/longitude as part of the address. This allows me to create a location info (http://www.district39.org/maps/location.php?location=1) and a club info (http://www.district39.org/findclub/clubinfo.php5?number=2695) pages. When I geocode the addresses, I get the pointer fairly code, but sometimes, it needs fine tuning.
I have kludged a script by adapting it from somewhere else. Among others things: It locks the map down to a specific center point in Satellite view Whereever I click on the map, the pointer gets moved to that point, and updates the formOr, rather, it WAS working that way. :(
Can someone take a look at my code? If it is possible, I would like to be able to "grab" that point, move it to the new location, and drop it in the new location. The test script is at www.district39.org/maps/testmap.php5 . I have also attached the code. HELP!
I'm mostly a PHP coder (self-taught), and really need to learn JavaScript. Unfortunately, I still have a lot of work to do, and JavaScript is not a priority. Theres most of my problem.
The website that I maintain, District 39 Toastmasters (http://www.district39.org/) stores location and club info with a latitude/longitude as part of the address. This allows me to create a location info (http://www.district39.org/maps/location.php?location=1) and a club info (http://www.district39.org/findclub/clubinfo.php5?number=2695) pages. When I geocode the addresses, I get the pointer fairly code, but sometimes, it needs fine tuning.
I have kludged a script by adapting it from somewhere else. Among others things: It locks the map down to a specific center point in Satellite view Whereever I click on the map, the pointer gets moved to that point, and updates the formOr, rather, it WAS working that way. :(
Can someone take a look at my code? If it is possible, I would like to be able to "grab" that point, move it to the new location, and drop it in the new location. The test script is at www.district39.org/maps/testmap.php5 . I have also attached the code. HELP!