Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    May 2006
    Posts
    152
    Thanks
    5
    Thanked 0 Times in 0 Posts

    undetermined string literal

    I'm trying to write a google maps application, but I'm having trouble opening an info window above my markers.

    Here's the code that creates the marker.
    Code:
    var point = new GLatLng ( 40.6730555556000012984441 , 80.6413888888999963455717 );
    var air_02G = createMarker ( point ,  '02G<br>COLUMBIANA CO');
    map.addOverlay ( air_02G );
    '02G<br>COLUMBIANA CO' that is where I get an "undetermined string literal" error with Firefox's JS console.

    Does anyone know why I get this?

    Thanks alot,

    FuZion

  • #2
    Senior Coder jmrker's Avatar
    Join Date
    Aug 2006
    Location
    FL
    Posts
    3,026
    Thanks
    36
    Thanked 494 Times in 488 Posts
    '02G<br>COLUMBIANA CO' that is where I get an "undetermined string literal" error with Firefox's JS console.
    I don't know for sure, but probably the problem is with the 'space' between 'COLUMBIANA' and 'CO' in your calling routine.

    I would try: '02G<br>COLUMBIANA%20CO' instead.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •