GLatLng() does not take a string as parameters. new GLatLng(homexgeo + "," + homeygeo)
Should be new GLatLng(homexgeo,homeygeo) Tehn, bounds.extend() does not take a string as parameter, but a GLatLng(). And also, targetxgeo.push(point.x; targetygeo.push(point.y); is old syntax. It should be targetxgeo.push(point.lng(); targetygeo.push(point.lat()); -- Marcelo - http://maps.forum.nu -- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
