...

View Full Version : undetermined string literal



FuZion
08-25-2006, 04:31 PM
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 );


'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

jmrker
08-26-2006, 02:59 AM
'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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum