Oh.. I have solved it :) On Jul 6, 1:37 pm, Eishita <[email protected]> wrote: > Ok... So I have updated the things which is available in the following > link - > > http://aiworker2.usask.ca/PasswARGUI1/addLevel.html > > Everything is good but the problem is I cannot retrieve themarker's > id from markersArray. I tried to see id of one of themarkerby > 'alert(markersArray[0].id);' but apparently no alert is visible at > that time. > > Thanks, > Eishita > > On Jul 6, 11:35 am, Eishita <[email protected]> wrote: > > > I'm sorry. Actually I have uploaded the older version of the code. > > I'll upload the newer one ASAP. Now I'm just doing some coding on it. > > > On Jul 6, 2:36 am, Rossko <[email protected]> wrote: > > > > > You can try out my sample code here - > > > > >http://aiworker2.usask.ca/PasswARGUI1/addLevel.html > > > > <input ... onclick="deleteRow(this)" value="Delete" ..> > > > > What do you think 'this' is in the context of aclickon abutton? It > > > isn't anymarker. > > > > Use something like the key of your markersArray[] relating to the > > > particularmarkerwanted. Then, when building yourbuttonwhile > > > placing themarker, you could write something like > > > onclick="deleteRow(3)" into yourbutton
-- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
