close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Multiple location points inconsistent results

Thread began 4/09/2010 2:40 pm by thomasrwilson347476 | Last modified 4/27/2010 1:51 pm by Eric Mittman | 3768 views | 5 replies |

thomasrwilson347476

Multiple location points inconsistent results

As others have voiced here, I too continue to have problems with a large number of location points (aprox. 100) shown when loaded from recordsets. Very inconsistent results.

I understand the concept of the _promaps_cache folder but it simply is not working, no xml file is being written and yes I have set the folder permissions to allow writing. The current version of Pro Maps is not working as designed nor is able to handle this many points correctly for me.

Sign in to reply to this post

Eric Mittman

I have opened a ticket for you on this issue so we can look into it with you further. To update your ticket login and visit your support history.

supporthistory.php

Sign in to reply to this post

danielg405622

recordset locations - gives inconsistant results

Just downloaded the extension, and am using CS3, PHP/MySql, IE 8

Recordset has 41 entries, and a different number are displayed each time I refresh, and never over 15 at the same time.

The directory _promaps_cache has full read/write etc permissions on the remore server. But I do not see the xml file on local or remote.

Any ideas what's going wrong?

Also how do I stop the information box displaying when you visit the page? It displays the info box for the first entry of the recordset - which looks incorrect when viewing 40 entries.

Final question, any ideas how to set the map to display the whole of the UK on start up?

THANKS FOR ANY HELP
Daniel

Sign in to reply to this post

Eric Mittman

Do you have a link where we can see this occurring? It will help us to understand what might be going on.

As for the info window you can comment out the line of code that makes it open by default, in the google_javascript folder in the wagmp_map_1.php file you can look for the lines like this:

php:
if('address_0_<?php echo $Recordset1_id?>' == 'address_0_0')

            marker_0_<?php echo $Recordset1_id?>.openInfoWindowHtml(address_0_<?php echo $Recordset1_id?>.infowindowtext);
        }



You can just comment out the marker_0_ line like this:

php:
if('address_0_<?php echo $Recordset1_id?>' == 'address_0_0')

            /*marker_0_<?php echo $Recordset1_id?>.openInfoWindowHtml(address_0_<?php echo $Recordset1_id?>.infowindowtext);*/
        }



If you have trouble with this post back with the file and I can show you want part to comment out.

As for the zoom level you can adjust that in the code, look for this setting:

map.setCenter(point, 13);



The 13 is the zoom level, the lower the number the larger the area you will see when the map loads.

Sign in to reply to this post

daniel.kdg398474

wagmp_map_1.php as txt file

wagmp_map_1.php as text file attached. I can not find the code you suggest commenting out.

The page is at
sites/

Thanks for any help given
Daniel

Attached Files
googlemapspro.txt
Sign in to reply to this post

Eric Mittman

In the page that you posted you will want to comment out line 323 so that it looks like this:

php:
/*marker_1_<?php echo $sitelat_id?>.openInfoWindowHtml(address_1_<?php echo $sitelat_id?>.infowindowtext);*/



You will also want to comment out line 353 so that it looks like this:

php:
/*marker_1_<?php echo $sitelat_id?>.openInfoWindowHtml(address_1_<?php echo $sitelat_id?>.infowindowtext);*/



The final entry that I found was on line 378, you should also comment it out so it looks like this:

php:
/*marker_1_<?php echo $sitelat_id?>.openInfoWindowHtml(address_1_<?php echo $sitelat_id?>.infowindowtext);*/



It looks like you have correctly altered the zoom level from what I can see in the code. When I viewed the page I could see many entries, greater than 25 just from a quick count. Have you tested all of the locations independently to confirm that each of them can be mapped? You might be having a problem with a location that cannot be mapped throwing off the rest of the results.

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