AnsweredAssumed Answered

How to Embed Services Directory Map in Website?

Question asked by sjerrysss on Aug 20, 2019

In my services directory, there's a ArcGIS JavaScript map under 'services/CGA/emap/MapServer'. Now I need to show this map on my website which is created with ASP.NET Core Web.


I'm a newbie to both ASP.NET and ArcGIS. Those cshtml and cshtml.cs files in my project make me so confused, I can't figure out the proper places to put HTML tags or JavaScript segments.


I can successfully show default map on my website, but I have no idea how to show the map I already have in services directory. Not sure if I need to query from my server, or put the map services directory reference in my project, or any other approach?