Yes, you can get the values from the sql database and assign the values to javascript variables dynamically. For example, if you are using php:
<?php
// get lat and lng values from the database and assign them to $lat and $lng
?>
…
function load() {
if (GBrowserIsCompatible()) {
var lat = <?php echo $lat;?>
var lng = <?php echo $lng;?>

I have always used Google maps and I would like to know how to improve the directions on the layout, I am looking for a buddy for improve my skills. Street view is cool and I want to add this with a scallable size image too

If you have street addresses but no geocodes in your database table, the ideal solution is to add new columns to your table for lat, long values. There are quite a few online tools that let you geocode addresses in batch. Google for “batch geocoder” or similar.

I have created a field called lat and long in my database. My problem now is “how do i get the data in the address field to populate the ‘geocode systems’ and result from geocode to populate the lat and long field in database, so that the above scrips can use them?

I have a feeling i javascript can do this but have no idea how to go about it.

Will appreciate comment if i’m on the right direction and how to moveforward or if there is a better way to do this.

Having returned after a few months of intense research for my MA degree. I have found that my http://www.durban24.com website does have a fair degree of functionality.

One has to drag the yellow stick man on the google map and the accompanying streetview ( pano style images ) are displayed.

My problem is as follows:- How do I get a user to type an address of his place of interest which will subsequently present him with the streetview ( if available ) and the ordinary google road map.

There are some solutions on the net, I do not want to use sources with adverts. can anyone assist me.

Hello! Welcome to Web development blog! My name is Ei Sabai and on this blog, I write about web development, mobile app development, latest web technologies and the likes. Read more about me or have a look at some of the tips & resources I've written.