Search from database

29 views
Skip to first unread message

thom

unread,
Jun 24, 2010, 11:52:10 PM6/24/10
to google-map...@googlegroups.com
hello, it's me again.

I've got a problem. I wanna make local search on my map with data from database, but is it possible for me to do that? The samples in google-code i've found are local search (places) -seems it based on Google database-. No one samples on searching from local database/ our local database (MySQL database). Can you give me some help on 'how to' and/or some references on that case? I hope i could see some examples too.

Sorry for my question and thank you very much for the answer.

--
Regards,,,
mastanto
http://www.mastanto.com
http://thom-sharing.blogspot.com

Rossko

unread,
Jun 25, 2010, 3:56:49 AM6/25/10
to Google Maps JavaScript API v3
> I've got a problem. I wanna make local search on my map with data from
> database, but is it possible for me to do that?

http://code.google.com/apis/maps/articles/phpsqlsearch_v3.html

thom

unread,
Jun 25, 2010, 4:04:55 AM6/25/10
to google-map...@googlegroups.com

Oh thank you Rossko..
Lemme try it first ^^

thom

unread,
Jul 18, 2010, 11:42:01 PM7/18/10
to google-map...@googlegroups.com

I am back. Wew... it's been hard time for me :D

Thanks for the link, anyway. I've visited it, but it still not what i expected. My goal looks like site's Ace Hardware locator (http://www.acehardware.com/mystore/storeLocator.jsp). I still wonder how to make a searching my own data, stored in my database, integrated with google map.

Any replies would be appreciated ^^

Rossko

unread,
Jul 19, 2010, 4:13:25 AM7/19/10
to Google Maps JavaScript API v3
> Thanks for the link, anyway. I've visited it, but it still not what i
> expected.

We don't know what you expected at all, you haven't said. That
example does what you asked ; searches a private database. More
detail might help.

> My goal looks like site's Ace Hardware locator

So use a debugger to see how that works. You won't be able to see how
the SQL parts work, but that is off-topic for maps and more suited to
MySQL tutorial or forums.

thom

unread,
Jul 19, 2010, 9:44:58 PM7/19/10
to google-map...@googlegroups.com
We don't know what you expected at all, you haven't said.  That
example does what you asked ; searches a private database.  More
detail might help.

Umm.. I'd like to make a map, with a search feature that use my own data (maybe like you said, search private database). Of course,, the data contain coordinate, so that it's showed in the map. Just like ace hardware.

 but that is off-topic for maps and more suited to MySQL tutorial or forums.

Exactly. I thought your statement is right. I think about it tonight. And yeah,, It's about MySQL execution, not related to the map directly. Maybe it's just my complicated brain hehehe.. Thank you for reminding me for 'that thing'. OK, then. Thanks once more :) It opens my mind :D

Daejeon

unread,
Jul 12, 2011, 11:26:47 PM7/12/11
to google-map...@googlegroups.com
Thom: U found any solution? :)

I have to search location from my own data too! 
Reply all
Reply to author
Forward
0 new messages