PDA

View Full Version : Trouble Viewing Multiple Locations


ezadrozny282406
01-06-2010, 02:11 PM
My page has around 100 locations currently and is having trouble loading consistently.

http://aspen.beaconroofingsupply.com/

Can somebody please help?

Thanks,

Dani Chankhour
01-06-2010, 04:34 PM
The problems is you have too many points on your map and to draw every point you have to connect to the google map API, which might not respond as quickly with that many points.

Pro Maps for Google includes a caching system which stores the map points in an xml file so you don't have to call the google map API each time which will result in more consistent results. However to use that caching system, you will need to use a dynamic page (PHP) with a record set.

Let me know If you need more information on how to create the map dynamically.

ezadrozny282406
01-07-2010, 04:20 AM
The problems is you have too many points on your map and to draw every point you have to connect to the google map API, which might not respond as quickly with that many points.

Pro Maps for Google includes a caching system which stores the map points in an xml file so you don't have to call the google map API each time which will result in more consistent results. However to use that caching system, you will need to use a dynamic page (PHP) with a record set.

Let me know If you need more information on how to create the map dynamically.


Yes can you please help me create a dynamic listing for these 2 companies?

Jimmy Wu
01-07-2010, 11:00 AM
First thing to check is that you have php installed on your server. If you're unsure of this, please contact your server administrator to ask about this.

Next you will have to change your site to a PHP site in Dreamweaver. You can do this by editing the site definition. Go to Site->Manage Sites and then either select the one you want to edit and hit edit or create a new site. After this change to Advanced view and set up the local info the way you would for your old site. Click on the testing server and select PHP MySQL for your Server Model.

Then you would create a new php page and run through the pro maps wizard to set up the map. After setting up the page, you will have to view it in a browser so that the cache file will be generated.