Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Configurable Map Viewer (CMV) built using the ArcGIS API for JavaScript

0
votes
0answers
11 views

CMV Attributes Table does not show “statistics, calculate and ascending order descending order”

Unlike the ESRI attribute table, CMV table (in CMV MAP VIEWER) does not show "statistics, calculate and ascending order descending order" in the first row of the table. How can I get it done? I ...
0
votes
0answers
13 views

Editing existing AppStudio templates

I'm new to AppStudio and I really would like to work from one of their provided templates. I created a very basic app using one of the standard templates, but I do need to change a few things within ...
1
vote
1answer
60 views

Display sublayers in group layer

I would like to expand sublayers when the map starts. I set sublayers and expanded to true but do not see changes. I wonder if I misplaced or used the incorrect code. layerControl: { ...
0
votes
1answer
88 views

Placing a widget inside a DIV

I have a div. <div class="left_panel box animate fadeInLeft three" id="layers" style="display:none;"> <div class="sidebar-head"> <h2>layers</h2> ...
1
vote
0answers
34 views

CMV Pass Dynamic Lat Long to URL [closed]

I have created a Reporting services report which has custom urls for my CMV viewer based on the lat long for the feature in the record. I would like to click on it and open my CMV app a the custom ...
0
votes
1answer
41 views

CMV Layers widget loads only intermittently

Without any code changes, the contents of the Layers widget, my layer tree hierarchy, loads sometimes, and other times does not load. It usually works on the first load of the page, then may fail to ...
0
votes
1answer
34 views

Labels with halos become faded and transparent in CMV when using an aerial image

I am using CMV to create a web map but when I use esri's world imagery or another image service as my base map, my labels (only with halos - Aerial 10pt with 2pt halo) become faded and transparent - ...
0
votes
1answer
37 views

Print Service legend display null for polygon features

the print service of application works well, but after converting the map area to pdf , the legend shows null filled values for polygon features(as in figure for Build up area,Forest dense area). I ...
1
vote
0answers
116 views

How can I use WFS layers with Configurable Map Viewer?

I have recently upgraded to v2.0 of CMV in the hope of using WFS layers. However, when configuring a WFS layer in viewer.js, no layers are loaded on the map (and there are no errors reported in the ...
0
votes
1answer
39 views

Configurable Map Viewer: copy of Search widget fails to reference renamed id=“mySelect2”

I made a copy of the Search widget to use on a different layer. I renamed the copy Search.js file to Search2.js, Search.html to Search2.html and referenced it like so in config/viewer.js: search2:...
0
votes
1answer
61 views

CMV goto widget

I have a problem with Goto widget, it doesn't display anything, the error displayed is that proj4.js is not found, I copy and paste the folder Goto in my project and it keeps giving me the same error.
0
votes
2answers
77 views

Do older community created widgets for 1.x work with CMV 2.x

I tried adding the "Nearby" widget from the "http://github.com/BrianBunker/cmv-widgets/tree/master//Nearby" user contributions. This appears to be an older widget and doesn't seem to work with CMV 2.0 ...
0
votes
1answer
37 views

How to configure my custom network in the Directions dijit?

I'm making a CMV app and trying to make the directions widget work with my own network dataset. I replaced ESRI's street route network service with my own service, so viewer.js looks something like ...
0
votes
0answers
45 views

CMV nearby widget

I add nearby widget to my cmv application ,nothing displays. I only want to use the distance part (not the drive time part) of the widget for one of my operational layers. do I have to add layer's url ...
1
vote
0answers
162 views

CMV Advanced Search Widget

In the README.md file for the CMV Advanced Search widget it says to: "Copy js/config/search.js file to js/config folder at your CMV installation. Edit file to configure proxy_url and ...
1
vote
0answers
76 views

Configurable Map Viewer Advanced Search Widget

I add Advanced Search Widget on my configurable map viewer application, I have also configure proxy file and paste Attributes Tables, the problem is that search by attributes, by adresse works but ...
1
vote
1answer
97 views

Configurable map viewer search widget

I want to add search widget to my cmv application, but nothing is displayed when I click on search, I have copied and paste all the files from github in my viewer folder and I started by creating a ...
0
votes
1answer
60 views

CMV integration with Nearmap

Has anyone integrated Nearmap imagery into a CMV application? Have you utilized a Tiled Map Service (TMS), WMS or something else? Have you run into any problems with a need for credentials ...
1
vote
1answer
65 views

Configurable Map Viewer Print Widget

I want to print the map with operational layers, but it failed, i use cmv viewer, when i remove layers, printing works, is there a configuration which i must do in the server ? Below is the part of ...
0
votes
1answer
75 views

geoportail with Configurable Map Viewer

I am new in GIS programming, I have to created a geoportail with the Configurable Map Viewer (CMV). I want to add my KML layers but they don't appear in the map. Below is the part of my code ...
2
votes
2answers
254 views

Customizing Popup in CMV

I am trying to format my Identify Popup in CMV to include some links, images, and special formatting. I have attempted to follow the suggestions mentioned here on GitHub, and here is the code: define(...
1
vote
0answers
208 views

CMV streetview widget a violation of Google API Terms of service?

Information I just received from the state states the ESRI has to remove their street view widget from (I assume) ArcGIS online. This is the post on GEOnet: https://geonet.esri.com/docs/DOC-2991?...
1
vote
0answers
67 views

Customizing Popups in CMV [closed]

I want to customize my Identify Popup in CMV to include some links, images, and special formatting. I have attempted to follow the suggestions mentioned here on GitHub, and here is the code: define([ ...
1
vote
1answer
126 views

App Title, Header Title and Header Subtitle Override?

Has anyone else been experiencing any "override" issue with their custom Titles? For example try the public URL: http://bhgis.org/apeg/test/viewer/ Watch closely as the titles quickly override to ...
0
votes
1answer
185 views

Floating pane CMV?

I have a menubar (Search, Find, Draw, Measure) in my layout. By clicking on the respective buttons I would like to display the widgets.I am using the CMV widgets in my app.Based on the widgets ...
1
vote
1answer
96 views

cmv-app 2.0 connect.json is not a function

I am using the Dev branch of the cmv-app and having trouble getting up and running out of the box. It looks like I am unable to start the web server - error says connect.json is not a function. I ...
3
votes
1answer
133 views

Suppress Layers not in Map Extent in Printed Map

When a map is printed with a legend, is it possible to suppress the layers not visible within the map extent from being printed in the legend, even if they are activated in the Layers section?
0
votes
1answer
109 views

Changing Data Types within the CMV Map Service

Is it possible to format fields that appear in tables within the map service? In the table results after a spatial query, date fields are converted to UTC rather than duplicating the values from the ...
1
vote
1answer
52 views

Debugging CMV Disclaimer widget error?

I have been trying to get the Disclaimer widget found here to function with a relatively normal CMV application. I have reviewed the several other posts on Stack Exchange troubleshooting this widget ...
1
vote
0answers
68 views

Can the CMV Identify Widget work with an Elevation Image Service?

I am using the CMV template but I have not been able to figure out if it is possible to configure the identify widget to return a pixel value (in this case an elevation value from a local image ...
0
votes
1answer
236 views

Add featureLayer as operationalLayer from JSON in CMV

Is it possible to define operationalLayer as feature (or anything else?) dynamically from json? We have API on our server which generates JSON as a query result from database (acting as a middleware)...
1
vote
1answer
96 views

Showing identify results in dijit/tabcontainer in CMV?

I want to use dijit/Layout/Tabcontainer to show results in identify.js. It can't show the Tabcontainer correctly. The result of the infowindow is as the link, it seems there is CSS file conflicts. ...
0
votes
2answers
64 views

Add or remove widget on runtime

I would like to know whether it´s possible to add or remove specified widgets on runtime. form example i press any tool on my toolbar and add widget to sidebar . press again to remove widget.
0
votes
1answer
157 views

Launch Attribute Table from Sublayer Menu

I've added layerControlLayerInfos: { menu: [{ label: 'Query Layer...', iconClass: 'fa fa-search fa-fw', topic: 'queryLayer' ...
1
vote
1answer
81 views

Snapping with measurement

Snapping with measurement tool on all layers/single layer not working. this.featureLayer = new FeatureLayer(this.Khasraurl, { mode: FeatureLayer.MODE_ONDEMAND, // infoTemplate: ...
1
vote
1answer
228 views

CMV - Problem hosting Proj4js file for Google Street View Widget

I am unable to use the Google Street View widget when hosting a Proj4js file on my server. Line 60 in my code (after projCustomURL:) is a working url to the file when testing on my server, yet I ...
1
vote
1answer
56 views

Multiple prompts when logging in outside of domain

I work entirely with secured services in CMV and everything works fine when using them on a computer that is within my company’s domain. Our IT has it setup so that you are prompted once to login to ...
0
votes
1answer
58 views

CMV app - files not accessible within network; cloudflare & @font-face

I am having a connectivity issue. My network will not allow me to connect to: 1. //cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.12/proj4.js 2. CSS3114: @font-face failed OpenType embedding permission ...
2
votes
1answer
138 views

Grabbing current map extent when using State Plane coordinate system?

When using the Share widget in the Configurable Map Viewer (CMV), I'm unable to grab and dispaly the current map extent while using a custom basemap projected in the State Plane coordinate system. It'...
1
vote
1answer
103 views

Altering the suggestQueryParameters in ESRI javascript API

I'm using a modified version of the CMV application and I'm trying to alter the query used by the suggestions query of a search widget. The suggestQueryParamters seems to allow for a custom where ...
-2
votes
1answer
149 views

Set zoomScale for CMV search widget

I would like to change the zoomScale parameters for the selected search item. The widget currently zooms in to far for the area I need to focus on.
1
vote
3answers
279 views

CMV Search widget url query string

I am migrating my Flex eSearch widget to the CMV Search widget. I need to be able to pass a query through an url within the widget. Currently my widget has 8 URLs that are in the widget. Flex Code:
1
vote
1answer
113 views

Search widget expression

I am trying to migrate my Flex eSearch widget to the CMV Search widget. The query is not working. What can I do to make it work? Flex query: <value prompt="Example: MN or MNPC">upper(...
3
votes
1answer
362 views

Editor widget in CMV is not working

I'm new to GIS. I'm using the CMV template for my applications, but I can't get the Editor widget to work. The problem is that all the functionalities form the Editor Toolbar are not working. The only ...
1
vote
1answer
253 views

CMV Viewer Custom Widget problem rendering

i'm trying to develop a custom widget into CMV Viewer. I'm using the guide line of CMV Viewer but i have some problem to render the html content set into templete folder. This is my code: Initialize ...
0
votes
0answers
79 views

Geojson live service in Configurable Map Viewer

I know that you can use the esri togeojson tool in there terraformer tool. But i was wondering if anyone has added this capability into a CMV viewer. I am looking at adding the capability so it would ...
0
votes
1answer
199 views

CMV (Configurable Map viewer) - Possible to use “Custom TiledMapServiceLayer” as a basemap?

Is it possible to use a "Custom TiledMapServiceLayer" as a Basemap? Is it possible to show a "Custom TiledMapServiceLayer" in BasemapGallery?
1
vote
2answers
244 views

Configurable Map Viewer (CMV) Measurement Widget Error

I have several cmv widgets enabled, some I have built myself. All work great, but when I enable the Measurement widget I am getting this error upon loading the app: dojo/parser::parse() error ...
1
vote
1answer
225 views

configurable map viewer multiple map services

I have multiple map layers (right now about a dozen but that will likely stretch to several dozen) in my CMV. I have introduced several WMS services to operationalLayers that I have published to a ...
0
votes
1answer
68 views

Moving position of CMV Home Button?

I'm relatively new at working with the CMV (and .css). What's the easiest way to change the Home button's position? To clarify, I'm attempting to move the position of the button itself down ...