Select to view content in your preferred language

Overlay georeferenced image with ArcGIS javascript 4.6

5872
21
02-23-2018 09:08 AM
ChadKahler
Emerging Contributor

With ArcGIS Javascript v3.x you could use a combination of MapImage and MapImageLayer to overlay a georeferenced image on the map.  It appears that the MapImageLayer functionality has changed in the 4.6 Javascript API, so is there a workaround available for georeferenced images until the old v3.x functionality of the MapImageLayer is implemented?

Thanks!

Tags (1)
21 Replies
UndralBatsukh
Esri Regular Contributor

Hi there, 

195MG is huge. :).  The limit of the image depends on the machine's GPU limit, but a safe maximum size is 2048x2048px.  Image this big will take more time to be fetched and displayed.

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 

Drop me a note and let me know how you will be using it 🙂

0 Kudos