Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 132,689 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 1,307 people online right now. Registration is fast and FREE... Join Now!




Google Map with database interaction

 
Reply to this topicStart new topic

Google Map with database interaction, Find property by city ,state and display data on google map

dadaso
post 21 Jun, 2008 - 03:06 AM
Post #1


New D.I.C Head

*
Joined: 9 Jun, 2008
Posts: 23


My Contributions


Find property by city ,state and display data on google map
User is offlineProfile CardPM

Go to the top of the page

joeyadms
post 21 Jun, 2008 - 03:11 AM
Post #2


D.I.C Head

Group Icon
Joined: 4 May, 2008
Posts: 145



Thanked 6 times

Dream Kudos: 600

Expert In: PHP, Web Security

My Contributions


It has been a while since I have done this type of project, from what I remember I had to loop through echoing javascript code for the google maps api, I created an OO interface for ease.

I'd give it to you , but I'm at work, and have no idea where it is, but I just googled and found Phoogle, which looks like it is something you could use
http://www.systemsevendesigns.com/phoogle

But basically you use the google maps api. Your php will just create the javascript elements for google maps to parse.
User is offlineProfile CardPM

Go to the top of the page

tlm-kram
post 23 Jul, 2008 - 08:35 AM
Post #3


New D.I.C Head

*
Joined: 12 Apr, 2008
Posts: 40


My Contributions


im just doing a project which involves Google Maps API. what i want to do is, the user select a countru from a dropdown list, then the application displays information about the slected country such as; hotels, entertainment etc ...

im trying to do the dropdown list part but im stuck, at the very begining. any help pls? !!!! thanks in advance.

CODE

function search() {
        if (DropDownList1.SelectedItem.Selected = "Malta") {
        
        map.setCenter(new GLatLng(35.937496, 14.375416), 10);
             }
    
    }
User is offlineProfile CardPM

Go to the top of the page

dadaso
post 2 Aug, 2008 - 02:25 AM
Post #4


New D.I.C Head

*
Joined: 9 Jun, 2008
Posts: 23


My Contributions


QUOTE(tlm-kram @ 23 Jul, 2008 - 09:35 AM) *

im just doing a project which involves Google Maps API. what i want to do is, the user select a countru from a dropdown list, then the application displays information about the slected country such as; hotels, entertainment etc ...

im trying to do the dropdown list part but im stuck, at the very begining. any help pls? !!!! thanks in advance.

CODE

function search() {
        if (DropDownList1.SelectedItem.Selected = "Malta") {
        
        map.setCenter(new GLatLng(35.937496, 14.375416), 10);
             }
    
    }





download code from
http://www.systemsevendesigns.com/phoogle

Implement this .I implement this script












User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/23/08 07:34AM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month