Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 08 16:45
    tmcgee closed #984
  • Apr 08 16:44
    tmcgee milestoned #984
  • Apr 08 16:44
    tmcgee labeled #984
  • Apr 06 21:03
    snyk-bot opened #984
  • Mar 31 12:58
    tmcgee commented #983
  • Mar 31 01:17
    duckblaster edited #983
  • Mar 31 01:16
    duckblaster edited #983
  • Mar 31 01:16
    duckblaster edited #983
  • Mar 31 01:16
    duckblaster edited #983
  • Mar 31 01:15
    duckblaster opened #983
  • Mar 30 21:04
    snyk-bot opened #982
  • Mar 24 19:24
    tmcgee commented #981
  • Mar 24 18:42
    azinsharaf opened #981
  • Mar 18 16:34
    adrianrb commented #980
  • Mar 18 16:34
    adrianrb closed #980
  • Mar 18 13:25
    adrianrb opened #980
  • Mar 18 13:21
    adrianrb edited #979
  • Mar 18 13:20
    adrianrb opened #979
  • Mar 18 12:59
    adrianrb closed #977
  • Mar 18 12:59
    adrianrb commented #977
csikora
@csikora

Hello (after a long time)! Is there any way to have the identify widget work with a FeatureServer (such as through ArcGIS Online)?

It does not work on single features either in my app (https://maps.psc.wi.gov/apps/WisconsinBroadbandMap/) or the demo app. However, I noticed in the demo app, that the identify widget seems to work on the clustered points in Northwest Arizona. How is this working? Can it be replicated?

Tim McGee
@tmcgee
@csikora There are no feature layers within your app so I could not test what you are describing there. From my testing, identifying features in a feature layer does work in the demo app - both for clustered and non-clustered features. Esri has cleared out the data in the Restaurant layer (they do that on occasion) so clustering is not as effective in the demo but it does work. There is also the San Francisco 311 Incidents layer in the demo that you can turn on. Lots of features over the city of San Francisco that can be identified.
csikora
@csikora

@tmcgee You are correct. I was only meaning to send the "public" app yesterday. This one has the feature layer in it: https://maps.psc.wi.gov/apps/WisconsinBroadbandMap20200914/

At the moment, mine isn't working, and the demo only seemed to work when I clicked on a clustered point.

ahwinz
@ahwinz
ESRI has disabled the geocoder used in cmv in favor of their search/worldwide geocoder. How can i implement this into cmv?
Tim McGee
@tmcgee
@ahwinz CMV switched to the new Esri Search widget when the deprecation of the Geocoder was announced over 3 years ago. Look at the viewer.js file in the cmv-app repo for the current configuration parameters.
ahwinz
@ahwinz
@tmcgee thanks.
duckblaster
@duckblaster
Maybe a future update to Universe will manage to fix the ShitHappens bug, but I'm not holding my breath waiting :P
Tim McGee
@tmcgee
@duckblaster PRs for the ShitHappensInTheUniverse bug will be gladly accepted! ­čśë
Hope all is well with you!
duckblaster
@duckblaster
yeah, all well, meant to put that in a different channel, but it still applies in general
Tim McGee
@tmcgee
It definitely applies!
C├ęsar Augusto
@carrbrpoa
Hello! Have you ever tried to geometry Search a view published as a service with CMV?
tigerwoulds
@tigerwoulds
Hello! New here - I have an issue with the Layer Control widget showing duplicate layers from a map service. The map service has 5 layers (confirmed by viewing the rest service in ArcGIS Online) but in my CMV web map the last layer is showing twice. Has anyone seen this before or have any ideas?
Tim McGee
@tmcgee
@tigerwoulds That is not something I have seen before. Can you share the operationalLayers section from the configuration file for the app?
tigerwoulds
@tigerwoulds
@tmcgee I actually found the issue. The service was using grouped symbology. For example, 2 unique values were grouped in ArcMap and symbolized as one color. This particular service was being published to an old version of ArcGIS Server 10.2.1 and the server didn't like that. Ungrouping the symbology fixed the issue.
Denverino
@Denverino
Hello! Something wrong with my proxy. I use it for arcgisonline and one else resource to view in cmv in intranet. So 2-3 weeks ago this resources broken in my cmv, but they work fine on my server. So in f12 i saw 500 error. "SSL/TLS". I changed with google help proxy.ashx one row "ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;" on next: "ServicePointManager.ServerCertificateValidationCallback =delegate{return true}". But it work only few hours and after broke again so i need change this rows back for work.
Can anybody explain me what i need to do?(
Tim McGee
@tmcgee
@Denverino I don't have a specific answer to your question as I do not use the resource proxy with ArcGIS Online. You can ask specific questions about Esri's resource proxy over on GitHub. Also note that the resource proxy is in the process of being deprecated (Esri/resource-proxy#556) by Esri. The changes noted there may offer a few recommendations that are possibly applicable to your situation.
Denverino
@Denverino
@tmcgee thank you very much for answer!
Denverino
@Denverino
There is a new CP-Inspection root certificate using by arcgisonline web services from 22.01.2021 to 22.01.2031. May be this is the reason of my proxy troubles? @tmcgee what do you think?( I updated esri proxy to 1.1.2 version, but nothing, i had the same 500 errors sometimes
Denverino
@Denverino
I have one more question in cmv. Sorry(. I configured query link for layer. This layer have a connection with some arcgis table in my project. So, search widget work fine, but don't work 'zoom to'((
QueryParameter type 'spatial'
msamwill
@msamwill
Hello Tim, quite some time ago you stated to @yogeshsharma505 The current version of CMV hosted on GitHub works with version 3.x of the ArcGIS Javascript API. That version of the API does not support 3-D. I have a version of CMV that works with version 4.x, including 3-D. However, that version is not available on GitHub. I've stopped guessing when I might release that version beyond a few of my existing customers who supported that effort. Working with the current CMV and supporting my customers has kept me very busy these past few years. Any chance I can get a copy of the 4.x version?
Glenn
@RiverGlen
Hi @tmcgee, how would one go about citing the CMV say, in a peer reviewed journal? Do you have a citation formatted that one could use to cite?
adeelahmed30
@adeelahmed30
Hi, i am new to cmv my question is there any cmv version which can be use for cesiumjs 3d api. i am looking for cmv cesium version can anybody help me in this regard
Tim McGee
@tmcgee

I am catching up after having been offline for a few weeks to attend to some family matters.

@msamwill Recently there was been quite a bit of renewed interest in CMV with support for 4.x. One of my clients has finally (FINALLY!) committed to support this effort to complete the integration with 4.x. That is underway with an expected completion hopefully within a month or so. Once complete, I will post the code on GitHub - it might start as a small beta test before opening completely to the public.

@RiverGlen That sounds very interesting. Please let us know if/when that gets published. There have been a few articles and presentations over the years that have cited CMV. There hasn't been a standardized citation other than reference to the GitHub source code repo at https://github.com/cmv/cmv-app.

@adeelahmed30 I have always thought that integration with cesium would be a very interesting addition to the CMV project. Unfortunately, I don't know of any work that has been done on that integration.

adeelahmed30
@adeelahmed30
@tmcgee thanks for your reply i am now a days looking to customize cmv viewer for cesium but no luck in this regard till now hopefully we be able to do if you have any input which can guide me plz share with me
ERS-Long
@ERS-Long
@tmcgee good to hear the 4.x news. Definitely please let us know, I do want to give it a try badly. Thanks a lot!
Tim McGee
@tmcgee
@ERS-Long Thanks for popping in. I've always had you in when the time came for 4.x. :smiley:
msamwill
@msamwill
Thanks for the update Tim! So glad to hear you are working on a 4.x version.
C├ęsar Augusto
@carrbrpoa
Hello!
What would be the best place to do something like domConstruct.place('<div><img src="my image to the bottom of widgets of left pane" /></div>', this.panes.left.domNode, 'last'); ?
I tried that in several places, even tried a new mixin just for this, no success
Guess I'm not getting to the perfect hook :D
Latest trial (the mixin):
define([
    'dojo/_base/declare',
    'dojo/dom-construct'
], function (
    declare,
    domConstruct
) {
    return declare(null, {
        loadConfig: function () {
            return this.inherited(arguments);
        },

        postConfig: function () {
            return this.inherited(arguments);
        },

        startup: function () {
            domConstruct.place('<div class=""><img alt="" src="" /></div>', this.panes.left.domNode, 'last');
            this.inherited(arguments);
        },
    });
});
But it stays on top; maybe widgets are not rendered yet
Tim McGee
@tmcgee
@carrbrpoa Hello my friend! Check out the answer here: https://gis.stackexchange.com/questions/116731/configurable-map-viewer-cmv-content-pane-with-cmv from way, way back in 2014!
C├ęsar Augusto
@carrbrpoa
Thanks Tim, I'll take a look!
duckblaster
@duckblaster
Is there any way to increase the timeout on the identify popup? The GIS server is taking too long and the popup is canceling
Tim McGee
@tmcgee

Hey there @duckblaster! Hope all is well in your part of world. Wish I was still down there!

I believe if you increase the timeout for all requests that execute via esri.request, it will apply to your identify requests. The setting is esriConfig.defaults.io.timeout

https://developers.arcgis.com/javascript/3/jsapi/esri.config-amd.html#defaults
https://developers.arcgis.com/javascript/3/jshelp/inside_defaults.html

duckblaster
@duckblaster
@tmcgee Thanks, that sorted it
Tim McGee
@tmcgee
:thumbsup:
C├ęsar Augusto
@carrbrpoa
Hello
In Search widget, is it possible, for example in a renderCell function, to open another data tab with data provided by a pre-existing json on click?
dkicwnp
@dkicwnp
Error.JPG
hi everyone, trying create local copy for editing in arcmap(editing an arcgis feature service) getting this error. Any solution pls
ERS-Long
@ERS-Long
@carrbrpoa I have not implemented that in the search widget, but I have done that in the identify widget using renderCell to call a function that pulls data from a web service.
C├ęsar Augusto
@carrbrpoa
Just implemented a fast and furious approach. Will post soon :D
C├ęsar Augusto
@carrbrpoa
There it goes: https://gist.github.com/carrbrpoa/f888849660693aebe64a76595056b1ca
Few modifications, actually
Tim McGee
@tmcgee
@carrbrpoa I could have sworn it was already possible to load pre-existing JSON without modifying the Search widget's code using the populateGrid topic. It has been quite some time since I've seen anyone use the approach so perhaps your requirements are different.
C├ęsar Augusto
@carrbrpoa
@tmcgee it's possible! Just didn't figured out how :sweat_smile:
C├ęsar Augusto
@carrbrpoa
Hello friends! Have you ever had a problem with Editor, where you can't drag a feature? I click it, it's simbology turns into a circle (ok), then when I drag it the map pans instead (testing in Chrome, API 3.35)
C├ęsar Augusto
@carrbrpoa
Additional info: I can drag new features; "old" ones nope