On Jun 21, 2:32 pm, Rizwan <[email protected]> wrote: > the same can be achieved using vb.net but not in c sharp...
Just because you are using C# shouldn't make any difference, you're just using a different server-side language to generate the code for the Map API, so must be something different in the client side code that's being produced. But from that snippet, impossible to say, that just appears to create a JavaScript scting, and then register it as a startup script on the page. But I do susspect that you are missing quotes on your sttings there, shouldn't it be something like. mapCommand += "mapSpeedReport.AddOverlay(marker);"; I'd expect you to get some JavaScript errors at least. Actually I'm suprised it builds at all, how would C# know what any of the Google map stuff is in your loadMap sub? Please post a link to your map, as requested in the posting guidelines: http://j.mp/postguide http://j.mp/includelink -- 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.
