Hi, I need to display WMS OGC layer with ArcGIS API for javascript. I'm new to ArcGis API, but I have been working before witg GoogleMaps api. I have used this demo: https://developers.arcgis.com/javascript/jssamples/layers_wms.html and just changed wms url to mine. Below is my HTML:
[HTML]<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <!--The viewport meta tag is used to improve the presentation and behavior of the samples on iOS devices--> <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> <title>Map with WMS</title>
Hi sunilpalkar, Thank you for reply. This WMS is made with ArcGIS/ESRI software, but unfortunately is placed on 3rd party server... Thank you for link. I'll see if I can do anything with my problem.
Hi sunilpalkar, Thank you for reply. This WMS is made with ArcGIS/ESRI software, but unfortunately is placed on 3rd party server... Thank you for link. I'll see if I can do anything with my problem.
It's working in ArcGis sandbox, but it stopped working after I have moved file to my server. It turned out, that my proxy.php wasn't correct configured. Now it's working fine.