close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Info Bubble and Zoom levels

Thread began 2/06/2012 6:14 pm by sandy170299 | Last modified 3/29/2012 1:17 pm by Jason Byrnes | 2018 views | 9 replies |

sandy170299

Info Bubble and Zoom levels

At one time, I knew how to fix these issues, but I can't find the insructions any longer. On this page index.cfm, how can I set the zoom levels differently and how can I have the info bubble NOT appear when the page loads. Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

for the Info bubble, enable the option for driving directions, but do not enter an address. that will hide the bubble when the page is loaded.


for the zoom level, see the "How to set the Zoom Level" tutorial in the how to section of the pro maps support page:
pro-maps-for-google/

Sign in to reply to this post

sandy170299

"For the Info bubble, enable the option for driving directions, but do not enter an address. that will hide the bubble when the page is loaded."

I tried this, but directions still showed up on the page, even though I didn't enter anything. I only clicked the driving directions check box. Is there a way through the code to eliminate the info bubble on load? Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

the only way driving directions would display is if something where entered in any of the address fields, including the country, leave them all blank.

it is possible to comment the code that shows the info window as well.


in the code, look for any line that starts:
marker_0_<int>.openInfoWindowHtml...

where <int> is an incrementing integer and comment it out.

Sign in to reply to this post

john218811

I too am having problems hiding the bubble AND adjusting the zoom.

I'm working with dynamic content so my wagmp_map_x file is php. I can remove the bubble by enabling the option for driving directions with no data entered.

But if I then follow the help here pro_maps_set_zoom_level_ht.pdf the map detail disappears and I get the dreaded grey box - villa-resorts.php

Any ideas?

Sign in to reply to this post

Jason ByrnesWebAssist

instead of adding:
map.setZoom(8);



try finding each instance of;
map.setCenter(point, 13);

and changing it to:
map.setCenter(point, 8);

Sign in to reply to this post

john218811

Thanks.
Tried that villa-resorts.php
Map shows but still at default zoom.
I want it to load to show all 5 markers.

Sign in to reply to this post

Jason ByrnesWebAssist

change this line:
map.setCenter(wagmp_map_9_obj.points[0], 13);

to:
map.setCenter(wagmp_map_9_obj.points[0], 8);

Sign in to reply to this post

john218811

Bingo! Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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