Select to view content in your preferred language

Image Overlays using javascript

1006
2
09-11-2012 01:58 PM
prashantpal
Occasional Contributor
Hi Everyone,

I am struggling to find solutions for using an Image as basemap layer using Javascript. Till now I have tried these things:

1. Inserting an image as layer in Arcmap along with the feature layers. Then saving it as MXD file and using for creating a web map service using ArcCatalog. But it doesnt work.

2. There was an option of using DynamicLayer , but only saves those dynamic layer as image.

Also this image has been generated using AutoCad DWG file which is Georeferenced already.
Is there any class or command that am missing or it is not possible to do it.

Please help me out.

Thanks
0 Kudos
2 Replies
derekswingley1
Deactivated User
0 Kudos
prashantpal
Occasional Contributor
Hi Derek,

I have tried the esri.MapImage and it works fine. But doesn't allow the geo-referencing of the image file.
Basically you have to rely on the giving the right coordinates to the image (ie Image Extent).

Then I tried using a different approach by adding an image file to ArcMap and Geo-reference it. Once
I am done save it as an mxd file. Then made a Map Service (Using ArcGIS Server) but it doesn't show
me any image only the feature (points polygons etc).

Please help me out if you have any idea.

Thanks

Pal
0 Kudos