Thank you Mr. Liu
I'm sorry...still not luck.

I cannot determine how to download arcgislink.js or to reference the
file from the google server in a script tag line.





On Jun 30, 7:45 pm, nianwei <[email protected]> wrote:
> You need to include the library script in your header.
> Either download arcgislink.js to your server and reference it in the script
> tag or use the one on google server.
>
> On Wed, Jun 30, 2010 at 2:25 PM, Russ <[email protected]> wrote:
> > thank you for your reply...
> > I have been working for hours with your example for ArcGISOnline Maps
> > and I get
> > the error  "gmap is not defined" when I try the example.
> > I'm assuming it is from this line of your code:
> > agsTypes.push(new gmaps.ags.MapType(urls, {name:x}));
>
> > Can you tell me what I'm missing?
>
> > Thank you for your time.
> > R.
>
> > On Jun 30, 6:47 am, Nianwei Liu <[email protected]> wrote:
> > > If you just need add the map, you can simply create a
> > > google.maps.ImageMapType
> > > and pass {
> > >  getTileUrl : function(coords, zoom){
> > >   return 'http://server.arcgisonline.com/ArcGIS/rest/services/
> > > USA_Topo_Maps/MapServer/tile/'+z+'/'+coords.y+'/'+coords.x;
> > >  } in constructor.
>
> > > If you need more functionality, I am upgrading my arcgislink lib to v3
> > > and will load it into the common utility lib once it done.
> > >  It's in progress you can take a look athttp://
> > gmaps-utility-gis.googlecode.com/svn/trunk/arcgislink/docs/exa...
> > > check the arcgisline example, that includes the US topo map.
> > > Not all sample will work all the time, but should be ready in about a
> > > week.
>
> > > On Jun 29, 4:03 pm, Russ <[email protected]> wrote:
>
> > > > Our GIS developer is leaving...the work examples he left me with are
> > > > all designed with API v2. I have been tasked with learning the basic
> > > > API v3 and including a google map in our web app. I have completed
> > > > some basic stuff. I cannot find a clean example in v3 of how I go
> > > > about adding an overlay from an ArcGISServer. I have been given the
> > > > below Map Service url for the service but need help in adding it to my
> > > > map. Do I need the REST URL?
> > > > Anyone know a clean example of this?
>
> > > > Thanks for your time.
>
> > > > The actual USGS Topo Map Service info is at
>
> > > >http://resources.esri.com/arcgisonlineservices/index.cfm?fa=content_d.
> > ..
>
> > > >  which includes the REST URL that you will need to get to the actual
> > > > service in the code.
>
> > --
> > 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]<google-maps-js-api-v3%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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.

Reply via email to