you may also be interested in a new google maps mymaps extension, called GeometryControls, I've put it in the dev library-
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/2833ba62be3d002c On Sep 30, 5:01 pm, bratliff <[EMAIL PROTECTED]> wrote: > On Sep 30, 8:20 pm, jameslove <[EMAIL PROTECTED]> wrote: > > > Hi All, > > I need to create a polygon by clicking on the map and also by passing > > coordinates through a drop down list. Right now I pass the value using > > a text field and the information appears to pass to the function since > > the alert shows the correct information. The marker does not appear in > > the correct spot (Saskatoon ... my place of birth) but rather in > > Russia. In addition, the marker array seems to be screwd up too. > > > Here's a link to the code. I am building on one of the API examples. I > > may again be missing something basic. > > >http://www.bcmetis.ca/idg_polyline.php > > You can avoid using parseFloat with: > > whatever-0; > > If it is a string, it will be converted to a floating point numeric. > If it is already a floating point numeric, it will do nothing. > > You can replace GLanLng with: > > {x:whateverX-0,y:whateverY-0} --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
