Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
César Augusto
@carrbrpoa
Just found that I can drag the features since I open it's attributes popup; is this behaviour ok?
Tim McGee
@tmcgee
@carrbrpoa That all sounds a bit unusual. Certainly not what I would expect. Can you provide a publicly available app that demonstrates the issues you are experiencing?
César Augusto
@carrbrpoa
Hey mate! Seems that the thing happens pointing to my staging env but not in production, yet it looks very similar; I'll try to dig a little more..no blame to CMV I guess! :smile:
knozaki2001
@knozaki2001
I found it is possible to change a default unit at gis\dijit\Print\templates\Print.html. Is there a way to show miles until the certain scale and feet after that? Thank you.
Tim McGee
@tmcgee

@knozaki2001 It is a shame to force you to modify the HTML page to change the default scalebarUnits. That should be a configurable option for the widget.

Currently there is no way to switch from miles to feet based on the map scale. Certainly possible though at first blush, I'm not sure how that would be clearly presented to the end-user in the Print widget's Settings pane.

knozaki2001
@knozaki2001
image.png
I would like to know how to disable "Get address here". I cannot find geocoder config in viewer.js. It seems to use Esri address locator which is off from the actual address and confuses my clients. Thank you.
You can remove the reverse geocoder widget from your apps. Or provide it a more accurate locator.
R D
@RDMEL_gitlab
Hello! I have a problem. I want to have a private basemap, but when I select it, I don't have any error, but nothing is happening. Here is the capture
: https://www.casimages.com/i/210712025310812943.png.html. Am I doing well?
Bill Beers
@wmbeers
cmv.io is unreachable this morning, getting a DNS error. Is it just me?
Tim McGee
@tmcgee
@wmbeers Thanks for letting us know. David Spriggs handles the domain registration. It looks like the auto-renew did not work. I have passed along the information.
Bill Beers
@wmbeers
Glad to see it back online @tmcgee !
SamiPixel11
@SamiPixel11
Hi,
JurupaCommunity
@JurupaCommunity
image.png
JurupaCommunity
@JurupaCommunity
i added third party rest end services and when i hit identify button, it showed only part of attribute? how come? Capture above missing Submit to, project start date etc... it string and date field
Tim McGee
@tmcgee
Hello @JurupaCommunity, 1. Querying the REST service end point, can you see the missing data in the results? 2. I assume you do not have an Identify configuration set up for this 3rd party service. Please check that. 3. If still a problem and the 3rd party service is accessible to the public, can you share the url of the service?
JurupaCommunity
@JurupaCommunity
image.png
@tmcgee from the rest end service if i bring it in map service i able to see those field attribute fine
image.png
JurupaCommunity
@JurupaCommunity
https://services.arcgis.com/BLN4oKB0N1YSgvY8/ArcGIS/rest/services/HazMat_Sites_CalEPA/FeatureServer/0 <-- similar to this site, i unable to identify attribute as well from CMV but in arcgis map services it able
Tim McGee
@tmcgee
image.png
@JurupaCommunity It appears to be something with the setup of your CMV app. Identify works perfectly with that HazMat feature layer.
2 areas for you to explore: 1. Be sure you are using the latest version of CMV. 2. Be sure you are using a recent version of the ArcGIS API.
Denverino
@Denverino
Hi everybody! I don't know how to add picture here. How to do this? So i have the problem with Symbols in operationalLayers. They are don't work with dynamic layers. In F12 a see the next: "source LauerControl/legendUtil/_createDynamicSublayerLegend _ControllerBase.js:95"
"error SyntaxError: Unexpected token '<'"
What it's meen?What i need to do?
Denverino
@Denverino
Hi everybody. I found, why my dynamic layers havn't legend. I using server 10.0, and close internet output. So i can't use service https://utility.arcgis.com/sharing/tools/legend( So, if there a way to do this service locally? Thank you.
Tim McGee
@tmcgee

@Denverino It is my understanding that version 10.0 did not provide the REST end-point urls for creating legends so the workaround at the time was the you identified. Version 10.01 and high do have that. I don't know of any other option using only your self-hosted ArcGIS Server 10.0.

Probably a longshot but If you happen to have ArcGIS Portal hosted within your network, it may have a similar "sharing" url like the one for arcgis.com.

Denverino
@Denverino
There are two different ways(functions) in gis/dijit/LayerControl/plugins/legendUtils.js for rest services >=10.01 and others. So my way is to use the link above, but i can't get out my rest service to the internet.
gismcieri
@gismcieri
Hi All, I am about to start working on a project and i am really interested in CMV as a starting point the issue there is a requirement to use the esri javascript 4.x. Is there any plans or a branch that uses 4.x. I have clicked around and am hoping i am missing it. Thanks.
JurupaCommunity
@JurupaCommunity
@tmcgee it work.. thanks
Denverino
@Denverino
Hi all. My cmv proxy don't work with wms layers. How can i config it?
ERS-Long
@ERS-Long

@Denverino I assume you just need to add something like the following in your proxy config file

<serverUrl url="https://data.axds.co/gs/wms"  <!-- your wms service url -->
matchAll="true"/>

Overall WMS is a little headache to deal with. We try to avoid it as much as possible when using ESRI js api.

Denverino
@Denverino
@ERS-Long This is the oddity that there is a setting, but for the wms layer it does not work. If i add dynamic layer from this server, proxy work ok.
ERS-Long
@ERS-Long

@Denverino in the viewer config file, for WMS layer, my url is something like (assume https://mrdata.usgs.gov/services/ds801 is the wms service url)

url : 'https://mrdata.usgs.gov/services/ds801?REQUEST=GetMap',

Not sure if that will help

Tasadduq Hussain
@tasadduq786
I am using Calcite Map-CMV,facing issue Identify widget not showing properly on Mobile.
Tasadduq Hussain
@tasadduq786
Identify of calcite map not property showing result on mobile.
Tasadduq Hussain
@tasadduq786
Identify.jpeg
click on map,identify not properly shown like above attached screenshot.
Tasadduq Hussain
@tasadduq786
Please replay me
msamwill
@msamwill
@tmcgee Hey Tim I'm looking into converting a small web application from JavaScript API version 3 to 4. I would like your opinion on converting the widgets. Would you continue to use JavaScript directly? or would you convert to typescript? This is a somewhat dated opinion https://community.esri.com/t5/arcgis-api-for-javascript-questions/arcgis-api-4-2-for-javascript-custom-widgets/td-p/212825 on the matter. I'm curious what you plan to do with the CMV.
gisfinder
@gisfinder
I updated some files of my app in web server, these files are for template ,module and js file referened by module, how to let browser to get the updated file but not the cached in browser?
Denverino
@Denverino
ctrl+shift+del ,for clear cache @gisfinder
gisfinder
@gisfinder
@Denverino I mean it is in the product environment. When ever the file in the webserver is updated, how to let browser knows it should fetch the new files.
Denverino
@Denverino
Oh, i have the same question)
gisfinder
@gisfinder
@Denverino the cachebust in dojoconfig may be helpful. I will research this later.
duckblaster
@duckblaster
@tmcgee any news on v4?
Steve
@cuthberts
I would like to call a function in indentify.js when a layer is clicked. As 3.x doesn't have the 'content' property how would you go about this?
Denverino
@Denverino
Hi everyone. Can anybody help me. Is it real to switch off toggling one of the arcgis group layers in the cmv?