close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Slow loading of 12-addresses - not creating maps cache

Thread begun 12/12/2009 5:55 am by ztechinc282425 | Last modified 12/16/2009 2:41 pm by Jimmy Wu | 1946 views | 3 replies |

ztechinc282425

Slow loading of 12-addresses - not creating maps cache

I am still having issues with pages with 12-locations taking forever to load. The first 4-5 points seem to load immediately but then it goes to a crawl taking many minutes to load the rest.

The "_promaps_cache" directory nor info is being built.

The page is here: Host_Locations.htm

I was looking at the generated code and if I understand it correctly (I am not a js person), it seems to look for a file before doing the cache, in this code:

function addToCache(fullAddress,zip, geocode){
httpObject = getHTTPObject();
if (httpObject != null) {
httpObject.open("POST", "google_javascript/promaps_geocache_.js", true);
httpObject.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
var entryId = fullAddress.replace(/,/g, '');
if (zip != '') {
fullAddress = fullAddress.replace(zip+',', '');
}
entryId = escape(entryId);
fullAddress = escape(fullAddress);
geocode = escape(geocode);
httpObject.send("sender=promapsforgoogle&action=add&entryId="+entryId+"&address="
+fullAddress+"&geocode="+geocode);

But the file "google_javascript/promaps_geocache_.js" does not exists.

Sign in to reply to this post

Jimmy Wu

What are the read/write permissions set for the google_javascript directory? If the permissions aren't set for the all user, the cache file will not be able to be written.

The rest of the locations load correctly after several minutes or do some of the addresses not load correctly?

Sign in to reply to this post

ztechinc282425

Originally Said By: Jimmy Wu
  What are the read/write permissions set for the google_javascript directory? If the permissions aren't set for the all user, the cache file will not be able to be written.

The rest of the locations load correctly after several minutes or do some of the addresses not load correctly?  



I checked and the permissions were 755 but I changed them to 777, FWIW.

I think they eventually load, but I haven't verified that ALL of them load. I just tried the page and after 5-minutes the Firefox status bar still says "transferring data from maps.google.com" but the pins are appearing.

Sign in to reply to this post

Jimmy Wu

Could you try creating a new blank page and re-creating the map on there? Try keeping all the options as default other than the addresses you are adding.

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