close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Google Map wont appear

Thread began 8/23/2012 1:57 pm by info396563 | Last modified 8/29/2012 9:39 am by Jason Byrnes | 2835 views | 13 replies |

info396563

Google Map wont appear

Hi

I have imbedded a Google map in to a web page I have built but for some reason I cant get it to render when the page is uploaded.

Do I need an API key for this to work?

The link to the page is below:

contact.html

Thanks

Sign in to reply to this post

Ian S

Have you uploaded the google_javascript folder in the webassist directory?

I've noticed that this doesnt always get uploaded, especially in the buggy Dreamweaver CS6.

Cheers
Ian

Sign in to reply to this post

info396563

Hi Ian

I'll give it a look.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

on viewing the page source of the file you uploaded, the links to the js files all use file system links:

<script type="text/javascript" src="file:///Macintosh HD/Users/scottmurthwaite/Desktop/webassist/google_javascript/wagmp_map_2.js">/*wagmp*/</script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false&key=">/*wagmp*/</script>
<script type="text/javascript" src="file:///Macintosh HD/Users/scottmurthwaite/Desktop/webassist/google_javascript/wagmp_maps.js">/*wagmp*/</script>




they should be using document relative links instead.

This will happen if you use the Save command in dreamweaver to save the file to a new location that is outside of your dreamweaver site and allow dreamweaver to update the links.

make sure you have a site properly defined for you site development, and save the files within your dreamweaver site so that links can be created properly.

Sign in to reply to this post

info396563

Should there be more than three links?

Sign in to reply to this post

Jason ByrnesWebAssist

not necessarily, I just used those as examples really.

there may or may not be more than three, regardless, none of them should be file system references.

Sign in to reply to this post

info396563

Ok..

Made the changes....but still no luck, the links have been updated to:

<script type="text/javascript" src="webassist/google_javascript/wagmp_map_1.js">/*wagmp*/</script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false&key=">/*wagmp*/</script>
<script type="text/javascript" src="webassist/google_javascript/wagmp_maps.js">/*wagmp*/</script>

Stiil wont render???

Any clues?

Sign in to reply to this post

info396563

Hi Jason

Have you had a chance to look at the page yet and possibly see why its not rendering still?

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

you dont have a valid address entered.

in the source code of the wagmp_map_2.js file that is attached to your page, the address entered is giberish:


address[loopIndex] = {
street: 'efsef',
city: 'efef',
state: 'ewfe',
zip: 'wefe',
country: '',



the google geocoder cannot lookup this address, nor can i for that matter.

Sign in to reply to this post

info396563

Ok cool..I only entered that because I was having to keep enter a long address and then once uploaded it still wouldn't work.

I will enter the correct address and upload it again.

Thanks

Sign in to reply to this post
loading

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

Content

rating

Layout

rating

Ease of use

rating

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...