I’ve created a PHP file named maps.php that contains a simple Google Maps API that works on the iPad’s default browser.
But when I call it using Ajax, the page loads itself but not the map. If I open the link in a desktop or mobile browser it works fine.
You can show google maps by accessing google’s javascript api.
Or you can load any php page directly in webView by using
window.location="http://www.mourady.me/alhokair/iphone/maps.php"javascript method, as your php page contain google map in canvas tag, you can not load that in div through ajax call, better way used iframe tag to the job.