close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Can I change Google Map to coordinates instead of an address?

Thread began 10/27/2011 4:15 am by Dan808 | Last modified 10/27/2011 9:43 am by Jason Byrnes | 395 views | 1 replies |


Can I change Google Map to coordinates instead of an address?

Just a thought...
Is it possible to make Google Maps zoom into a different view?

In other words how can I not enter a private residence address into PS 4.5 settings?
The client likes the map view of his town but not the zooming in on his house.

Can I input exact longitude and lattitude coordinates of a location near his house instead?
Like maybe the 10th tee at the golf course around the corner from his house?

just curious if it can be done without too much overwhelm.

Thank You WebAssist Staff.

Sign in to reply to this post

Jason ByrnesWebAssist

In the webassist/plugins/google_map/google_javascript/wagmp_map_1.php file, find the following code:

var address_0 = {
      street: '<?php echo str_replace("'""\'""".$WAGLOBAL_Address  .""); ?>',
      city: '<?php echo str_replace("'""\'""".$WAGLOBAL_City  .""); ?>',
      state: '<?php echo str_replace("'""\'""".$WAGLOBAL_State  .""); ?>',
      zip: '<?php echo str_replace("'""\'""".$WAGLOBAL_Zip  .""); ?>',
      country: '<?php echo str_replace("'""\'""".$WAGLOBAL_Country  .""); ?>',
      infowindow: 'default',
      infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;"><?php echo str_replace("'""\'""<strong>Address:</strong><br />".$WAGLOBAL_Address  ."<br />".$WAGLOBAL_City  .", ".$WAGLOBAL_State  ." ".$WAGLOBAL_Zip  ." ".$WAGLOBAL_Country  .""); ?><br /><a href="javascript:updateInfoWindow()">get driving directions</a></span>',
      full: '<?php echo str_replace("'""\'""".$WAGLOBAL_Address  .""); ?><?php echo str_replace("'""\'""".$WAGLOBAL_City  .""); ?><?php echo str_replace("'""\'""".$WAGLOBAL_State  .""); ?><?php echo str_replace("'""\'""".$WAGLOBAL_Zip  .""); ?><?php echo str_replace("'""\'""".$WAGLOBAL_Country  .""); ?>',
      isdefault: true,
      addressType: 'address',
      loop: '',
      latitude: '',
      longitude: '',
      markerStyle: 'House',
      markerColor: 'Slate'      

in that block change:

addressType: 'address',
loop: '',
latitude: '',
longitude: '',


addressType: 'coordinates',
loop: '',
latitude: '<your latitude>',
longitude: '<your longitude>',

where <your latitude> and <your longitude> are the coordinates you would like to use.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...