close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Map won't center on Default address properly

Thread began 8/05/2009 10:44 am by mjc309098 | Last modified 8/07/2009 2:05 pm by Eric Mittman | 2758 views | 4 replies |

mjc309098

Map won't center on Default address properly

Hello;
In my last post, I was wondering how to make this work with a form. Well I have that working now. The only problem I am having is that the map is not centered on my default address in IE and there is no balloon with the address in it like there is supposed to be in any browser.

I believe the file that runs this part of the app is the one I am attaching, the wagmp_map_1.cfm file.

Can anyone help me get this to center properly? Also, when you run the search from teh form, it comes out over seas with the map view when I am around the corner.

I have tried the code from google to center the map onload, that isn't working, I get no map when I do that, I did find the line that needed to be changed. I also addred the exact coordinants in that part of the center script and still nothing, even tried the <div> tags for center.

How do I fix this?

Thank you.

Here is my code for that page attached:

Attached Files
wagmp_map_1.zip
Sign in to reply to this post

Eric Mittman

Do you have a link where this can be seen on a live site? If you have the reference to the wagmp_maps.js just before the ending body tag it should load as centered correctly.

With a link to the live page it would be possible to do some minor client side debugging to help determine why the page is loading like this.

Sign in to reply to this post

mjc309098

The web site is here directions.cfm

I am attaching the java file. I do not have the script just before the last body tag. When I do that, it errors out. I do have the java tag under the div tags for the map and directions.

This is anoying, been trying to figure this out all day.

Thank you for looking.

Attached Files
wagmp_maps.zip
Sign in to reply to this post

Eric Mittman

I'm opening a ticket for this since I will need to contact you and obtain your files. Please login to WebAssist.com and visit your support history to update your ticket. I will update your other posts with the same info.

Sign in to reply to this post

Eric Mittman

I have found that the problem is an image that has a name and id of directions. This is causing a conflict with the map on the page and the js that uses the same names.

When implementing Google maps on your pages you should ensure that you do not name any elements the same as the ones that Google Maps uses, these include directions, address and any other names used by the map.

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

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