Google Map markers text not formated properly in FireFox

I'm using the Blueprints Ajax Map Viewer component to add a Google Map to one of my pages. This is too cool! It really makes using Google Maps easy.
However I have a display problem in FireFox. The map has MapMarkers with markup. When you click on a marker the Info Window "balloon" is displayed with the markup text. In IE, the Info Window is nicely wrapped. However, in FireFox, the text is displayed one word per line. So in IE it looks like:
    My Marker
    Description of my marker.But, in FireFox
    My
    Marker
    Description
    of
    my
    marker.Here's an actual example of the "markup."
<b>Downtown Danville</b><p>Parking. Water. Restroom (in Caboose!). Museum.</p>I suspect it is a style problem, but don't know where to start to troubleshoot. Do I have to dig into the Themes? Any Ideas?
Cheers
Dan

Thank you for bringing this to the forum. One of our developers suggests replacing all spaces with non-breaking spaces ( ) and provides the following code associated with the component catalog found at http://developers.sun.com/ajax/componentscatalog.jsp:
public String button1_action() {
String userLocation = (String)this.selectValue1.getValue();
if (userLocation != null) {
GeoPoint userPoint = (GeoPoint)getSessionBean1().getGeoPoints().get(userLocation);
if (userPoint != null) {
double latitude = userPoint.getLatitude();
double longitude = userPoint.getLongitude();
this.mapViewer1_center.setLatitude(latitude);
this.mapViewer1_center.setLongitude(longitude);
renderMapViewer = true;
String m = formatMarker(userPoint.toString());
MapMarker marker = new MapMarker(latitude, longitude, m);
this.mapViewer1.setMarkers( new MapMarker[] {marker} );
//this.mapViewer1.setInfo(marker);
} return null;
private String formatMarker(String text) {
text = "<b>" + text + "</b>";
text = "Location shown: <br/>" + text;
text = text.replaceAll(" ", " ");
return text;
Our tutorial will also be updated shortly. I hope this helps.
~Joe Silber
Java Studio Creator Documentation

Similar Messages

  • Subtitles & other text not displaying properly safari & firefox

    Hello
    some text in Safari and Firefox is seriously degraded. I changed to Firefox because Safari was displaying wrongly, but Firefox has the same problem. See image:
    I cannot use subtitles on BBC streamed movies either, and the timing of the movies on the bottom ribbon do not display either
    I am using Lion 10.7.5
    Is there a solution for this problem?

    The tags at the bottom of my original message are out of date:
    Should be
    Mac OS Lion 10.7.5
    Safari 6.0 (7536.25)
    Firefox 16.0.2

  • Gmail and other google account pages do not load properly in Firefox and the View email attachments screen loads but freezes

    1) When loading Gmail sign-up page it appears as double width in Firefox instead of in one screen
    2) When viewing Gmail attachments online, the attachment loads but the screen freezes and I can't scroll, select etc.

    Reset the page zoom on pages that cause problems.
    *<b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can also update to Firefox 18 via Help > About
    *https://support.mozilla.org/kb/update-firefox-latest-version

  • I've been using FCP 7 on my iMac for quite some time with great success.  Lately I created a new project and the browser window does not format properly (it's O.K. for previously created projects). The effects window is also not displaying properly.

    Help! My browser window is suddenly not formatting properly. (losing browser formatting, glitch, bug)  I'm using FCP 7 on an iMac with OS X 10.8.5 and have been successfully doing so for a couple of years.  I fear my Final Cut Pro is corrupt and I have to re-install. Anyone ever see this problem? Old projects display and behave fine in the browser, but any new project I create, totally loses the formatting in the browser and the browser also does not display the "effects" window properly anymore. (see below)

    YOU ARE A LIFE SAVER!  I reinstalled the program and everything. THANK YOU! THANK YOU! MY HERO!!!

  • My 4th gen. shuffle keeps on sending me an error message that it cannot connect with iTunes because it's not formatted properly.

    Hi,
    About two days ago my shuffle started to send me an error message that it cannot connect with iTunes because it's not formated properly.
    So I've already updated the softwer, I tried to use it with every single USB port on my computer and searched for solutions on the net but couldn't find any useful information...
    I literally see the following message: The iPod "194" cannot be used with iTunes because it is not formatted properly.
    Any ideas?....
    Thank you!

    If you cannot access the iPad because of the passcode, you have no choice but to restore it using the same steps that you would use if you forgot the passcode.
    iOS: Forgotten passcode or device disabled after entering ...

  • The header photos on my website are not formatting properly in Mozilla. How do I fix this?

    Hi There,
    The header photos on each page of my website are not formatting properly in Mozilla. The photos appear to the right side of the website and you have to scroll over to see them. They work on other browsers such as Chrome and Safari. How do I fix this? Here is the link to my website: http://cpd.berkeley.edu/.
    Thanks for your help!

    What is even stranger, is if you reload the page in version 33, it is in the right place. Does this happen on Beta? [https://www.mozilla.org/en-US/firefox/channel/]
    If this continues, please clear the cache and refresh the page, then if it still happens please webcompat.com file a bug here.

  • IPAD 2 ,MY  iPAD IS UPDATED, BUT MAP SOFTWARE IS NOT WORKING PROPERLY ,LOCATION/ROUTE

    iPAD 2 ,MY  iPAD IS UPDATED, BUT MAP SOFTWARE IS NOT WORKING PROPERLY ,LOCATION/ROUTE & DISTANCE ALSO...
    CAN YOU GUIDE HOW TO SOLVE THIS PROBLEM....WAITING FOR SAME.
    VIRAL THAKKER- INDIA.
    ALSO, I HVE SOME PROBLEM IN MACBOOK SOFTWARE OPREATRING SYSTEM IS 10.6.1 AND TRY DOWNLOAD 10.6.8...BUT DON'T KNOW AFTER DOWNLOADING,I M NOT ABEL TO RUN IN MY MACHINE .
    ANY BODY CAN GUIDE ME? TO SOLVE THIS PROBL.
    VIRAL THAKKER INDIA

    Try this: Open up her Home folder (house icon), click Library then Preferences. Locate com.apple.softwareupdate.plst (I don't have my Mac handy so I can't double-check the name; that should be correct) and move it to the desktop or trash, then try running Software Update again. Also try running Software Update while logged in as another administrator.
    ~Lyssa

  • Can not sync ipod shuffle says : The Ipod SYS  cannot be used with itunes  because it is not formatted properly. But i have restore it several times and still not working

    Hi, I'm trying to sync my new Ipod to get the new album I got but when I connected it the meesage: The Ipod SYS  cannot be used with itunes  because it is not formatted properly. appears in itunes. I have restored several times now but it is not working I already downloaded music to it, it is brand new..just 2 weeks old. Somebody can help me? Do I need to return it to the store I bought it from?

    The last Restore completed without any error message, or do you get the "ipod SYS" error message?
    I'm thinking this is a case of iTunes and Windows confusing the iPod's storage disk with another drive, described here
    http://support.apple.com/kb/ts1493
    So, iTunes/Windows thinks another drive is the iPod, and errors out because that drive is not formatted as expected (for an iPod).  The solution, in the document linked above, is to change the iPod's assigned drive letter.

  • On a mac, I have lost the Scaler on Google map. I think that it is Firefox problem because the map scaler is present with Safari. Thank You

    On a mac, I have lost the map scaler on Google map. I think that it is Firefox problem because the map scaler is present with Safari, so it seems that it is not a Google map problem. Thank You

    Firefox 4 requires at least OS X 10.5 and an Intel Mac. There is a third party version of Firefox 4 that runs on OS X 10.4/10.5 and PPC Macs, for details see http://www.floodgap.com/software/tenfourfox
    If you prefer, you can get the latest version of Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html

  • Animation not displaying properly in Firefox

    My animation not displaying properly in Firefox. I have searched this forum and others but am only able to find outdated solutions (such as updating to the latest release of Animate). I am on the most current versions of Animate and Firefox and still having problems. Does anyone know of a solution to this, or can direct me to a discussion that already covers it?
    An interesting thing to note is that only the center tree is acting differently, though the commands for each seem to be the same. Also the small mountains are fine, but not Mt Rainier.
    Here is my test page:
    http://jonnyart.com/test/NewYearsAnimation
    Thanks!

    In case anyone else runs into this issue, I was able to resolve it by rebuilding those portions of the animation.

  • CSS not displaying properly in Firefox

    My new CSS layout looks beautiful in IE7 (weird), however, it
    is not rendering properly in Firefox. I always do research before
    posting here, but I'm completely helpless now. I'm very new to CSS,
    this is my first page I've layed on using this language. Pretty
    much none of the top margins are working, and my faux column image
    isn't displaying. I'll attach the HTML and the CSS and see if
    someone can point out what is wrong with Firefox.

    I'm seeing problems in FF3, Safari 3.1, and IE6. Flash code
    and missing alt
    tags on images won't hurt you, but some of the other
    validation errors could
    be effecting your layout.
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.colonybeachresort.com%2FCSS_T esting%2F
    In addition, you've got problems with those png images and
    alpha-transparency. They do not render well in IE6 without
    some sort of png
    fix JavaScript. Given that many people still use IE6, you
    might want to
    switch to jpgs for backgrounds.
    IE net renderer for checking web sites
    http://ipinfo.info/netrenderer/
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "nowherecreative" <[email protected]> wrote
    in message
    news:g6ak8o$2iv$[email protected]..
    > Here is the link to the site.
    >
    http://www.colonybeachresort.com/CSS_Testing/
    > If you view it in IE7 it looks great. When you view it
    in Firefox the top
    > margins aren't working ... for example, the whole site
    is supposed to
    start
    > right from the top (no space between the top of the
    browser window and the
    > content, as seen in IE7). Also, the background of my
    columns are not
    showing
    > up, you can really see the difference when you compare
    them between the 2
    > browsers.
    >

  • TDF not displaying properly in Firefox 4

    Hi, just an FYI to the TDF team...the web version is not displaying properly in Firefox 4.0.1. The main browser window (for lack of a better description) is slightly off-set maybe 10 - 15 pixels down and to the right. Because of this it covers up some of the TDF navigation tabs.

    In case anyone else runs into this issue, I was able to resolve it by rebuilding those portions of the animation.

  • Edge Animate file does not view properly in Firefox

    Adobe Edge Animate 1.0 file does not view properly in Firefox (3.5.19)—figure gets cropped...  but looks fine in Chrome and Safari. 
    Here's a link to the file: http://127.0.0.1:54321/Users/breuter/Desktop/RD_Test%3AEdge/Flying_R_Man6.html?mode=previe w 
    Thanks for any help.

    Hi Darrell,
    Thanks for your note... this should help: http://rdtest03.businesscatalyst.com/index.html
    It may take a few moments for the animation to load.
    Cheers,
    Bill

  • Google maps is not displaying properly on firefox

    I am in the process of building a website for a client and have included a google map on the contact page. The map displays correctly in ie, safari, opera, and chrome, but on firefox the map is way out of position on the page. Firefox seems to be ignoring the existence of the map in the flow of the page and the map is appearing to the left of the rest of the page content. Here is a link to the problem page, http://pennsylvania-hill.com/?page_id=6. The map is supposed to appear in a 980 x 320 space below the navigation bar and above the addresses and contact form. The only solution I can come up with is a firefox hack in the css. I'm hoping for a better solution.
    Thanks,
    Greg

    [[Websites look wrong or appear differently than they should]]

  • Google Maps Autocomplete field not working inside WebView

    I am using a WebView to display Google Maps and the web page includes a "text" element which is a google.maps.places.Autocomplete control.
    The maps themselves work perfectly but the Autocomplete field does not do the actual auto-completing. That is, as I type into it, it does not show a drop-down list of all matching locations although it does return the correct coordinates of any place I type in completely.
    The same web page and the Autocomplete control work perfectly when I load them into a standard web browser.
    Has anyone experienced this? How do I go about debugging this issue? Any suggested solutions?

    Try jdk8: http://jdk8.java.net/download.html
    If it still doesn't work, file a bug: https://forums.oracle.com/forums/ann.jspa?annID=1713
    If it is a bug in the WebView implementation, use HostServices.showDocument to show the document in a standard browser until the bug is fixed:
    http://docs.oracle.com/javafx/2/api/javafx/application/HostServices.html#showDocument(java.lang.String)

Maybe you are looking for

  • My ipod wont let me download apps

    it has a plus in the top left. someone said it might have being hacked is this true

  • Images can no longer be inserted into the header in iWork pages '13?

    in iwork '09, it is allowed to insert a image in the header and footer. what happened to the iwork '13? any ideas?

  • Creation of Inbound Delivery with reference from PO

    Hi,         I use this FM-BBP_INB_DELIVERY_CREATE for creation of inbound delivery.  Delivery date is  same  Actual GR date means it's working fine. But i give less than or greater than Actual GR date  means it shows following error,           'Ackno

  • Customer Loyalty

    Customer loyalty is non-existent. VZW cares more about new customers than loyal customers. I would like to see a customer retention program since it is actually cheaper to keep a current customer than it is to recruit a new customer. And please do no

  • AP 1702 Powering options ?

    Could AP 1702i be powered by 802.3af  POE ? In the data sheet,802.3af is not included in the powering options,and the power draw of the ap is 15W. http://www.cisco.com/c/en/us/products/collateral/wireless/aironet-1700-series/datasheet-c78-732347.html