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
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
César Augusto
@carrbrpoa
(While apply edits didn't happen)
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.