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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Any way to remove the location info "bubble"?

Thread began 6/05/2009 9:03 am by Nathon Jones Web Design | Last modified 8/06/2009 4:20 pm by Ray Borduin | 3324 views | 15 replies |

Nathon Jones Web Design

Any way to remove the location info "bubble"?

Is there any way to remove the location info bubble from the map?
I just want to have a flagged point on the map as I have the location info alongside the map plus I don't really like the way the bubble covers the map.

I've had a look at this line in the wagmp_map_1.asp file:

var address_0 = {
street: '',
city: '',
state: '',
zip: '',
country: '',
infowindow: 'custom',
infowindowtext: '<span style="font: 12px Verdana, Arial, Helvetica, sans-serif; color: black;">Bubble Text Here</span>',
full: '<%=Replace(Cstr("" & cStr((rsEVENT.Fields.Item("googlelatitude").Value)) & ""), "'", "\'")%>,<%=Replace(Cstr("" & cStr((rsEVENT.Fields.Item("googlelongitude").Value)) & ""), "'", "\'")%>'

Can I edit a setting here that would prevent the bubble from displaying? Thanks.
Nathon.

Sign in to reply to this post

Nathon Jones Web Design

Might have got it.

I've removed the following line from the wagmp_map_1.asp file:

icon_0.infoWindowAnchor = new GPoint(8,3);

...and that seems to have done the trick. Removing that line won't cause any problems, will it?

Thanks.
Nathon

Sign in to reply to this post

Ray BorduinWebAssist

I would just comment the lines that have .openInfoWindow instead of that line.

Sign in to reply to this post

Nathon Jones Web Design

How do I comment out a line? Sorry, I know I should know that but it's not something I ever really do. Thanks Ray.

Sign in to reply to this post

Ray BorduinWebAssist

add two slashes in front of it: //

Sign in to reply to this post

Nathon Jones Web Design

Even if it's an ASP page?

Any occurences I have in wagmp_map_1.asp, of .openInfoWindow are prefixed with "marker_0". Does that matter?

Sign in to reply to this post

Ray BorduinWebAssist

I am talking about the client side javascript code. The server language doesn't matter.

Sign in to reply to this post

Nathon Jones Web Design

Every occurence?

.openInfoWindow appears six times in my wagmp file. I've commented them all out, by adding the two forward slashes at the start of that line, but I'm now getting "error on page"?

I'm not sure if it's important but they're .openInfoWindowHtml not .openInfoWindow. Does that matter?

Here are the six lines that have that code (now commented out):

Line 184:
// marker_0_<%=CStr(rsEVENT_2_0_repeat_index)%>.openInfoWindowHtml(address_0_<%=CStr(rsEVENT_2_0_repeat_index)%>.infowindowtext);

Line 191:
// marker_0_<%=CStr(rsEVENT_2_0_repeat_index)%>.openInfoWindowHtml(address_0_<%=CStr(rsEVENT_2_0_repeat_index)%>.infowindowtext);

Line 212:
// marker_0_<%=CStr(rsEVENT_2_0_repeat_index)%>.openInfoWindowHtml(address_0_<%=CStr(rsEVENT_2_0_repeat_index)%>.infowindowtext);

Line 219:
// marker_0_<%=CStr(rsEVENT_2_0_repeat_index)%>.openInfoWindowHtml(address_0_<%=CStr(rsEVENT_2_0_repeat_index)%>.infowindowtext);

Line 235:
// marker_0_<%=CStr(rsEVENT_2_0_repeat_index)%>.openInfoWindowHtml(address_0_<%=CStr(rsEVENT_2_0_repeat_index)%>.infowindowtext);

Line 242:
// marker_0_<%=CStr(rsEVENT_2_0_repeat_index)%>.openInfoWindowHtml(address_0_<%=CStr(rsEVENT_2_0_repeat_index)%>.infowindowtext);

Any idea's why this is now producing the error?
Thanks.
Regards
Nathon

Sign in to reply to this post

Ray BorduinWebAssist

that looks right.

Do you have a url where I can view it?

If you remove the comments you don't get an error any more?

Sign in to reply to this post

Nathon Jones Web Design

Link

Here's a page with that on, without the comments:
scottish-music-event.asp?e=935&b=1

...and yes, you're right, I no longer get the error.

Did you want me to re-write IN those errors so you can take a look?

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