please host it somewhere and send me link.-
On Wed, Aug 27, 2008 at 8:00 PM, E Guru <yoursguru@...> wrote:
> Yes I tried that Still it is not
working...sikunj@...<working...sikunj%40gmail.com>
>
> --- On Wed, 8/27/08, (c) Sikunj <sikunj@... <sikunj%40gmail.com>>
> wrote:
>
> From: (c) Sikunj <sikunj@... <sikunj%40gmail.com>>
> Subject: Re: [yws-maps] Not Able to integrate with Yahoo API
> To: yws-maps@yahoogroups.com <yws-maps%40yahoogroups.com>
> Date: Wednesday, August 27, 2008, 11:08 AM
>
>
> You need to use your app-id instead of demo id.
>
> On Wed, Aug 20, 2008 at 9:10 PM, yoursguru <yoursguru@yahoo. com> wrote:
>
> > Hi All,
> >
> > I have been using Yahoo API's .
> > The problem that i'm facing during integration is that the maps are
> > not getting displayed.
> > I'm getting error on page message stating that
> > 1)'map' is null or not an object.
> > 2)'Ymap' is undefined.
> >
> > I'm using the following script.
> >
> > <script type="text/javascri pt"
> > src="http://api.maps. yahoo.com/ ajaxymap? v=3.0&appid =YahooDemo-
> > xxxx"></script>
> > <style type="text/css" >
> > #mapContainer {
> > height: 800px;
> > width: 800px;
> > }
> > </style>
> > <div id="mapContainer" ></div>
> > <script type="text/javascri pt">
> > // Create a map object
> > var map = new YMap(document. getElementById( 'mapContainer' ));
> > var marker = "";
> > var marker_old=" ";
> > var geopoint_old= "";
> > map.addTypeControl( );
> > map.addZoomLong( );
> > map.addPanControl( );
> > function createYahooMarker( geopoint, id, swtext)
> > {
> > var myImage = new YImage();
> > myImage.src = 'http://us.i1. yimg.com/ us.yimg.com/ i/us/map/ gr/mt_
> > ic_c.gif';
> > myImage.size = new YSize(20,20) ;
> > myImage.offsetSmart Window = new YCoordPoint( 0,0);
> > marker = new YMarker(geopoint, myImage);
> > marker.addAutoExpan d(swtext) ;
> > //YEvent.Capture( marker,EventsLis t.MouseClick, function() {
> > marker.openSmartWin dow(swtext) });
> > map.addOverlay( marker);
> > return marker;
> > }
> > function panMap(geopoint, zoom)
> > {
> > map.drawZoomAndCent er(geopoint, zoom);
> > }
> > </script>
> >
> > Can anyone suggest me something???
> >
> > Thanks,
> > Guru
> >
> >
> >
>
> --
> Regards,
> Sikunj Savaliya
> +91.987.980. 9898
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>
>
--
Regards,
Sikunj Savaliya
+91.987.980.9898
[Non-text portions of this message have been removed]