Why start doing Google Maps in PHP?
Because with PHP we can easily access our dataBase...
This link was the first to give working code:
http://www.phpro.org/examples/Google-Maps-With-PHP-And-Phproogle.html
see my try out:
http://www.contrechoc.com/layar/googlePHP.php
but this is still working with the keys (deprecated, go to version 3)
and also you cannot change the markers with this simple lib (?)

Then this came up:
http://code.google.com/p/php-google-map-api/
which works without the keys, so in API3
and gives the possibility to use your own markers
(and of course, doing all in php makes life easier when working with a dBase. Who wants to type in all the POI's???)
a test page using these classes:
http://www.contrechoc.com/layar/secondGooggleMapPHPTest.php

So now the way to go is to add PHP database code and add the codes we used for LAYAR. And with all this technical stuff we are nearly creating our own version of LAYAR, or understanding it a little bit...
download source file phpTest1
download source file phpTest1
Aucun commentaire:
Enregistrer un commentaire