Using Google Maps in PHP and SQL Server - php

Where can I find the tutorial or example to use Google Maps with PHP, SQL Server and JavaScript?
Example:
If I want to apply Google Maps into my website, which when the user key in the suburb name, then it will return the map of the suburb and show a mark for each of the locations of shops belonging to my company.

I used the tutorial "jQuery and Google Maps Tutorial: #1 Basics" to get familiar. It uses MySQL, but you could probably substitute it with SQL Server.

Here would be a good location to start:
Google Maps Examples
Just look into the source code of the examples, you're interested in. You can get far with just copy and paste.
EDIT: I just noticed, that I refered to the API v2, which is deprecated by now. You might better use the Tutorial for v3.

You can use the PHP class Easy Google Map.

Related

Google geocode api language issue

I want to get the results of google geocode api in English language. I am using the following link. It is returning the results in arabic language.
Am I missing something ?
http://maps.googleapis.com/maps/api/geocode/json?latlng=24.744165,46.676800&sensor=true&language=en
try this
$results['address_components']->formatted_address ;
I already faced this issue, as far as I know, the API provide the result in the language you ask if available, otherway it use the avalible language. In your case I guess, that only arabic is available.
I'm sorry but I don't remember if it is clearly stated in the api documentation and where.
Have a look at this question: Inconsistent language in Google Place Details API
and at Google API documentation

How to place new marker google maps in PHP?

I learn using google maps for basic. And want create a simple application with marker to show longitude, latitude.
What I should use Google maps API v3 ?. Can give me refrences or tutorial ?.
Best regards, Thanks.
Google Maps JavaScript API v3 is a good option for PHP sites. You should probably begin with the Introduction and Simple Example. Enjoy!

how to add google map in a page using php,jquery

Im working on a project..I have to add a google map of my location.Im new to this so any help will be appreciated . I know there are many tutorial but i cant find the best one.Thanks in advance :)
you might want to start here. This a tutorial from Google.
Google Maps API is very powerful but you need to have detailed information about Javascript (Jquery), PHP, mySql etc. Also you have to be familiar with Google Map services.
If you do not have enough time for that, you can have a look this PHP script. It is FREE and you can easily embed google maps on your PHP website. Also, it's possible to manage your maps without coding.

Using Google Maps API in Web Application

Basically all I want to do for now is just allow someone to enter an address and have it save the data in my database and display it on a Google map. Then when other people come to it, they can view the "pins" that other people have placed. Do I do all of the interaction with Google Maps using JavaScript? PHP?
I've done some searching and it isn't all that clear to me. Just looking for guidance on how to get started so I don't end up going back and changing things later on.
Google Maps is a client-side technology so you'll be using JavaScript. See this guide for getting started.
There are alot of tutorials on the web about the subject.
It is actually quite simple once you understand the API.
To get the pin's etc you can store them with php in MySQL and then to show the map just translate into values the API can understand.
Here is a good tutorial: https://developers.google.com/maps/articles/phpsqlajax

Google plus get Comments with PHP Code

I would like to read my Google Plus Feed with an php site and list all entrys in an array.... Now I found the explanation site of Google
https://developers.google.com/+/api/latest/comments/list
But I dont understand what I have to do?!? Can anybody give me a hint or an example, how to read my own newfeed from google + with an php coded site?
thank you in advance
regards Dennis
Well, I think it is better you to use the google-api-php-client which has methods to easily access content on Google Plus from PHP.
You may also want to check out the Google+ PHP Starter Project, which provides some configure and run code. One of the features demonstrated by this starter project is a list of your public activities.

Categories