| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: May 2008
Posts: 248
![]() ![]() | |
| |
| | #2 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | These things are awesome... just View Source on these examples and you can probably step yourself through the Javascript enough to add it to your site: ????: NamePros.com http://www.namepros.com/showthread.php?t=490576 http://code.google.com/apis/maps/doc...tion/examples/ There are some more advanced things that you want to do, which the API may not be able to do for you (but I'm not too experienced w/ it so I wouldn't really know)... for example, find out what country a marker is in. Your thing #1 may be provided by the API (with a little tweaking), however you might dissect this: http://www.daftlogic.com/projects-go...calculator.htm Good luck! |
| |
| | THREAD STARTER #3 (permalink) |
| NamePros Regular Join Date: May 2008
Posts: 248
![]() ![]() | Thanks. I actually new about daftlogic - that site served as a major inspiration as far as the decision to use google maps goes. It had only occurred to me about a day ago that I could view the source of many google maps on the net. Unfortunately for me, daft logic seems to use some method to hide the map api code. I have found a distance example on another site and used its source. The accuracy seems ok for short distances, and the function is built-in. wisgary distance calculator ????: NamePros.com http://www.namepros.com/showthread.php?t=490576 I forgot about the code.google.com examples! Thanks. Right now my major problem is trying to get a php script to run via javascript. There seems to be some kind of "fake image" trick, but it isn't working for me. Um. . . Thanks for the reply. . .Rep added!
__________________ Are you tired of viruses and popups? Use Firefox! |
| |
| | #4 (permalink) | ||||||||
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Regarding:
| ||||||||
| |
| | THREAD STARTER #5 (permalink) |
| NamePros Regular Join Date: May 2008
Posts: 248
![]() ![]() | Yeah, I figured I'd have to learn it sooner or later. I was hoping there was some kind of shortcut, because I looked at the principles of AJAX and it seemed like a lot for me at the moment, especially for what I'm trying to do. I guess I'll just have to man up and learn that object. AJAX = in the long run, anyway, I suppose.Thanks for the link. Although to be honest. . .w3schools has been in my bookmarks toolbar for quite some time.
__________________ Are you tired of viruses and popups? Use Firefox! |
| |