close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

only last record displayed

Thread began 8/13/2014 7:03 am by Paul | Last modified 8/14/2014 9:33 am by Jason Byrnes | 2304 views | 13 replies |

Paul

only last record displayed

As subject says only the last record is displayed in pro maps.

In Dreamweaver Live view, i can see multiple records displayed on map
At remote server i only see the last mysql db-record being displayed on map

I checked the streetnames and postcodes, there are correct. Could this be a cache issue?

I have pushed all the required folders towards the remote server but without any luck.

Sign in to reply to this post

Jason ByrnesWebAssist

"Could this be a cache issue?"

Yes, it could be a cache issue. if you still have the problem after clearing the cache, I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

Paul

Ok, see PM.

Sign in to reply to this post

Jason ByrnesWebAssist

the images folder is missing from the server that are used for drawing the push pins, for example:
/webassist/google_javascript/images/pushpin_pacifica.png


make sure to upload the /webassist/google_javascript/images/ folder to the server.

Sign in to reply to this post

Paul

Oh well that was a quick fix. LOL
i really appreciate your help, Thanks Jason!

A second question. Is there a way of stopping the script to focus not the last record. I just want to load the entire map with places and the user has to focus on a place. I will try to add a default location with coordinates... but i think it will popup a information baloon (i dont want)

Sign in to reply to this post

Jason ByrnesWebAssist

in the /webassist/google_javascript/wagmp_map_1.php file, find the following code:


if (isDefault) {
infowindow.open(map1,marker);
setTimeout("google.maps.event.trigger(wagmp_map_1_obj.markers[" + wagmp_map_1_obj.markers.length + "], 'click')",1000);
//map1.setCenter(point);
}



and comment the infowindow.open(map1,marker); line:

if (isDefault) {
//infowindow.open(map1,marker);
setTimeout("google.maps.event.trigger(wagmp_map_1_obj.markers[" + wagmp_map_1_obj.markers.length + "], 'click')",1000);
//map1.setCenter(point);
}
Sign in to reply to this post

Paul

Yes thats exactly what i was trying to achive, but now i have another issue.
The visitor needs be able to click on the link generated in the Info window.

e.g. when a guest clicks on a push-pins on the map. I would like to show the infowindow.open(map1,marker) :-)

update: i have removed the comment at the infowindow.open(map1,marker); line: -- this is better of what i was trying to achive

Sign in to reply to this post

Jason ByrnesWebAssist

only comment the infowindow.open(map1,marker) line that is in the if (isDefault) { if statement.

Sign in to reply to this post

Paul

I have commented the infowindow.open(map1,marker) line that is in the if (isDefault) { if statement.
When the page is loaded, it still navigates automatically to the last record.

Sign in to reply to this post

Jason ByrnesWebAssist

comment the setTimeout line also.

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