any help guys...

On Nov 25, 11:01 am, "niklasro.appspot.com" <[email protected]>
wrote:
> validate via external validator and blame clients for incompatible
> relative indsutry. we can't presume 100 % forwardcompatibility
> __________
> This thing niklasro.appspot.com via Google talk, Jabber or xmpp
> answers all questions stated /tellme <question>. Returns might ask
> you.
> Available commands:
> /tellme <question>        Ask this thing niklasro a question. It asks you,
> respond, deny all knowledge - or send /askme for another question.
> /askme  Have this thing niklasro ask you. Answer by replying it.
> /help   View available commands.
>
>
>
> On Wed, Nov 25, 2009 at 3:46 PM, Anil <[email protected]> wrote:
> > Hi,
>
> > I don't know If I am posting this in the correct forum or not, but I
> > guess no 2 people think the same. Yesterday I had posted this into
> > some other forum and they redirected me to this forum. I posted it
> > here an then got redirected to the other forum.
>
> > I don't mind posting it, provided I should be able to satisfy
> > everybody which I dont think I can..
>
> > So please if you could provide me with your views on the problem, that
> > would be kind .
>
> > I am a newbie to google mashups and looking at a few examples have
> > written a code to integrate googlemaps with my application, however
> > the code works only on Chrome and does not work on IE or Firefox.
> > below is the code, could any one please let me know what could be the
> > proble,m
>
> > <html>
> > <head>
> > <title>View Affiliates</title>
> > <script src="http://maps.google.com/maps?
> > file=api&amp;v=2&amp;sensor=false&amp;key=ABQIAAAAeyy7GOl_ls6Ri2u9zdOS0BSD1 
> > 6up0PYjVlJp3LBR9AVBoP4_yRQHJylJxMhViE26dtwPg7qSis0_7Q"
> > type="text/javascript"></script>
>
> > <script>
>
> > function initialize()
> > {
> > var longi = new Array();
> > var lati = new Array();
> > var name = new Array();
> > var street = new Array();
> > var city = new Array();
> > var county = new Array();
> > var state = new Array();
> > var zip = new Array();
>
> > // Ajax call to my application to get the result
>
> >  // Display the map, with some controls and set the initial location
> >      var map = new GMap2(document.getElementById("map"));
> >      map.addControl(new GLargeMapControl());
> >      map.addControl(new GMapTypeControl());
> >      map.setCenter(new GLatLng("40.907787","-90.359741"),4);
> >     // map.setMapType(G_HYBRID_TYPE);
>
> > for (var i=0; i<lati.length;i++)
> > {
> > //      var com = comp[i];
> >        var point = new GLatLng(lati[i],longi[i]);
> >        var marker = createMarker(point,'<div style="width:240px">' + '<div
> > style="font-weight:bold">' + name[i] + '<\/div>' + '<br />' + street
> > [i] + ',' + city[i] + ',' + county[i] + ',' + zip[i] + ',' + state[i]
> > + '<\/div>');
> > //      var marker = createMarker(point,f1());
> >        map.addOverlay(marker);
>
> >  if (GBrowserIsCompatible()) {
> >       // A function to create the marker and set up the event window
> >      // Dont try to unroll this function. It has to be here for the
> > function closure
> >      // Each instance of the function preserves the contends of a
> > different instance
> >      // of the "marker" and "html" variables which will be needed
> > later when the event triggers.
> >      function createMarker(point,html) {
> >        var marker = new GMarker(point);
> >        GEvent.addListener(marker, "click", function() {
> >          marker.openInfoWindowHtml(html);
> >        });
> >        return marker;
> >      }
> > }
> > else
> > {
> >        alert("gbrowser not compatable");
> > }
> > }
> > }
> > </script>
> > </head>
> > <body onload="initialize()">
> >    <div id="map" style="width:850px;height:450px; margin-left:25px;
> > margin-top:25px;"></div>
> > </body>
> > </html>
>
> > --
>
> > 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 
> > athttp://groups.google.com/group/google-maps-api?hl=en.

--

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