On Mar 5, 10:19 am, priyanka kane <[email protected]> wrote:
> Andrew where is this Javascript code
> written? i could try writing my code differntly then..

This loop runs in the browser

        for (var i = 0; i < 10; i++)
            {
                    var point = new GLatLng(<%=lat %>,<%=longi %>);
                    map.addOverlay(new GMarker(point));
            }

and adds ten markers at whatever lat and longi are passed to it. Those
application/server-side variables are passed only once, when the
application is run.

I'm afraid this is not a place for teaching you about client-server
programming. It is a place for helping with unexpected errors within
the API itself.

Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to