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

rating

blank map with coordinates

Thread began 7/12/2010 3:56 pm by mark336119 | Last modified 7/28/2010 12:42 pm by Eric Mittman | 1161 views | 9 replies |

mark336119

blank map with coordinates

cannot get dynamic map to work with coordinates (works fine with normal addresses, it is not a database / field issue).

Sample coordinates work fine in google maps (50,-100), but shows a blank map in Pro Maps using both the 'address' method and the 'coordinates' method.

do others have this working?

Sign in to reply to this post

Eric Mittman

These coordinates show up on my map without issue, looks like it is in Manitoba province near Brandon. What is the result that you get with your map, do you have a link? Have you made sure to update your API key to match your domain?

Here is a nice piece of code that you can put into the URL bar when you are on maps.google.com to get the coordinates of the center of the map:

javascript:void(prompt('lat,%20lng',%20gApplication.getMap().getCenter()));
Sign in to reply to this post

mark336119

API is fine - maps work with physical address and display fine.

Cannot get coordinates to display a map (gives a blank page), tried a variety of ways.

test link: obituary_map_cemeteryCrd.asp?id=31

Sign in to reply to this post

Eric Mittman

Please post back with the page that has the map on it along with the google_javascript folder in a zip archive. I would like to compare what you have with my same version of the map that uses these coordinates and it working.

Sign in to reply to this post

mark336119

here is the page and script folder. if trying it live, ?id=31

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

Eric Mittman

I have been doing some testing on your pages and have determined that for some reason there is missing js code that should be created on the fly. The odd thing is that I can't determine why it is doing it like this. I will need to do some more testing of the pages and I will get back to you with what I discover.

Sign in to reply to this post

mark336119

appreciate the update on this Eric.

Sign in to reply to this post

Eric Mittman

Ok, I have done some more testing and it looks like the problem is with your wagmp_maps.js file in the google_javascript folder. In the files that you sent yours looks like this:

window.onunload = function() {
GUnload();
}

/*wagmp_onload*/
if(window.wagmp_map_1) wagmp_map_1();



The reason the map is not loading is because your map is wagmp_map_5. It looks like you copied this file in from another site, or the page with the map on it was copied from another site. You will need to update this file so that code inside looks like this:

window.onunload = function() {
GUnload();
}

/*wagmp_onload*/
if(window.wagmp_map_1) wagmp_map_1();
if(window.wagmp_map_5) wagmp_map_5();



In order for the map to work correctly it should be created in the site you are using it in. When you create a new map this file should be updated to include the additional line of code for the new map.

Sign in to reply to this post

mark336119

was away for abit, back now.

have not copied anything in from another site... this is the one and only. this extension hasn't worked the first time yet, let alone anywhere else :)

there are a few map pages, as mentioned earlier works fine with address, but not with coordinates.

i made a new file, made sure the wagmp_maps.js had the correct map file listed in it.

when i run it, everything seems to work, database returns correct values, except the map is completely non-existent.

Sign in to reply to this post

Eric Mittman

I have opened a ticket for you on this issue so that it can be looked into further. To update your ticket or check on it's status login and visit your support history.

supporthistory.php

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