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

How to display points for ecommerce sales

Thread began 3/31/2009 12:32 am by pam183309 | Last modified 4/07/2009 6:55 pm by Ray Borduin | 1648 views | 3 replies |

pam183309

How to display points for ecommerce sales

Hi...I am trying to use Pro Maps to display a map of our US Sales locations by City and State. I have the recordset and have setup the Map to use the recordset. Need to resolve a couple of issues:
1. Set the map to 500 x 500 and only a part of the map appears, the rest is solid gray.
2. How to set the map to only show the US, should I set a default to somewhere in the midwest?
3. How can I set the map to show the entire US to start?
4. What is the limit on the number of flags I can display? It does not show more than 20 or so.

Any and all help is very much appreciated!
Thanks in advance!

Sign in to reply to this post

Ray BorduinWebAssist

1) do you have an example... most likely you have to update the width somewhere else on the page that may not have been updated properly.

2) It will show only the US if you only enter US addresses... so filter the database... maybe I misunderstood... what is happening now? Often a url example goes a long way in allowing for precise responses to questions.

3) You could add code to do this... either update the line in the existing map include: map.setCenter(new GLatLng(37.4419, -122.1419), 13);
or add your own reference on the page:
wagmp_map_1_obj.setCenter(new GLatLng(37.4419, -122.1419), 13);

Look up more about the .setCenter() method of the map object at google.com

4) We will be updating pro maps to allow for more data points to be plotted very soon. Currently the restriction is based on the api restricitons of Google that allow a certain number of geocode requests per second, minute, hour, etc... so ironically you can sometimes show more points on a slower server.

Sign in to reply to this post

pam183309

Hi Ray...Thanks so much for your response.
1. I moved the map out of my ssl locked down admin directory (using Security Assist) and the whole map seems to be showing up now. It just takes a long time to load.
2. I set the default city to Kansas City, KS and the zoom level to 4 and I see the desired results
3. Setting the zoom level from 13 to 4 in the lines that refer to map.SetCenter... worked as well.
4. Here are links to two examples:
a. the rs here shows only the top 40 cities and states (A-C in this case). If you wait long enough, I seem to get close to 40: ordersmap.asp
b. the rs in this example should show all records (there are over 100): ordersmap-allcities.asp
5. New question - how can I remove the bubble that shows up upon load on the default location? And, can I make the bubble show up on rollover of the flags?

Thanks again! I think I'm getting close!
Best regards,
pb100

Sign in to reply to this post

Ray BorduinWebAssist

if you remove the lines of code that refer to:

marker.openInfoWindowHtml

then no windows will be open by default.

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