Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: undetermined string literal
08-25-2006, 04:31 PM #1
- Join Date
- May 2006
- 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.
var point = new GLatLng ( 40.6730555556000012984441 , 80.6413888888999963455717 ); var air_02G = createMarker ( point , '02G<br>COLUMBIANA CO'); map.addOverlay ( air_02G );
Does anyone know why I get this?
08-26-2006, 02:59 AM #2
I don't know for sure, but probably the problem is with the 'space' between 'COLUMBIANA' and 'CO' in your calling routine.'02G<br>COLUMBIANA CO' that is where I get an "undetermined string literal" error with Firefox's JS console.
I would try: '02G<br>COLUMBIANA%20CO' instead.