Is it possible to add a georeferenced image to a map?

208
3
11-14-2019 10:09 AM
MattStayner
Occasional Contributor

Is it possible to add a georeferenced image to a map, like the one attached? I know in 3.x I can use MapImage and MapImage layer to georeference an image using the extents of the image (see my demo here). But what if I already have a georeferenced image, like the one attached? Can I add it to a map without having to specify the extents?

Tags (2)
0 Kudos
3 Replies
RobertBorchert
Frequent Contributor III

if the image is properly georeferenced you should be able to simply open it in the map. 

0 Kudos
MattStayner
Occasional Contributor

How? Using what class? I tried using MapImage, but it did not recognize the extents of the image.

0 Kudos
JuliePowell
Esri Contributor

We are releasing the ability to overlay images and videos in 4.24 next week! You can try it out now using the /next early access release, and we are looking to get some feedback on it. The functionality is even better than 3.x… you can overlay both images and videos in 2D and 3D, add/remove multiple images on the fly very easily, and use it with other 4.x capabilities like layer blending (note: so far you can only do layer blending with MediaLayers in 2D). 

Here's a simple example: https://codepen.io/U_B_U/pen/MWQGWdb?editors=1000 

Note that you will have to specify the location of the image explicitly in your app (image corners/extent). 

0 Kudos