POST
|
Hi, I am developing an application in ArcGIS JS 3.23 API. I am facing very strange issue. I have added a graphics layer to the map, when I zoom in at deep level, then graphics disappear. This issue is in Chrome, in other browsers it's working fine. Any suggestion? Regards, Jamil
... View more
01-08-2018
09:05 PM
|
1
|
1
|
485
|
POST
|
Hi, Can you please explain me how did you integrate kendo ui? I mean where you put its JS and css files and how loaded into your widget? Regards, Jamil
... View more
11-29-2015
10:52 PM
|
0
|
1
|
403
|
POST
|
Hi, I am trying to integrate Telerik Kendo UI controls into web appbuilder widget. I have read this documentation Use other libraries—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers That last option seems to be perfect for my scenario. But I don't understand what to put these files and where is the dependency array? Please help. For kendo, I have JS and CSS files and those needs to be loaded. Regards, Jamil
... View more
11-29-2015
10:41 PM
|
0
|
0
|
3214
|
POST
|
Hi Everyone, I have created an add-in (UI Less). When I click on map, I collect some information from map and from extremal web service, that I need to display. So I uses dojo's dialog to create it using JS and open it. and render results. It works with only one problem, that dialog is model and I don't find any option to make it non-model. In case of model, that user can't interact with map. Any way to create a popup with non-model behavior using dojo? Regards, Jamil
... View more
11-29-2015
10:38 PM
|
0
|
1
|
2771
|
POST
|
Hi, My Client is looking to translate the built-in widget's labels to Spanish? Is there any built-in support that we need to switch the language and labels are already translated? I uses the Silverlight AppBuilder, there was localized installer and that takes care of everything. How we need to it in WAB? Regards, Jamil
... View more
11-22-2015
10:14 AM
|
0
|
4
|
4429
|
POST
|
I am doing like this return declare([BaseWidget], { baseClass: 'jimu-widget-MyWidget-setting', postCreate: function () { this.inherited(arguments); this.popup.disableButton(0); }, }); Regards, Jamil
... View more
11-14-2015
09:39 PM
|
0
|
1
|
543
|
POST
|
Where to write that? I write on Settings.js postCreate method, but there is no "this.popup".
... View more
11-14-2015
09:30 PM
|
0
|
0
|
543
|
POST
|
I have created a custom widget with configuration in web appbuilder. What I need to do is disable "Ok" button or do nothing if all fields in the config screen are not filled. In other words, I need to do save only when all inputs are filled. Any idea how to achieve it? Regards, Jamil
... View more
11-14-2015
12:53 PM
|
0
|
5
|
3475
|
POST
|
<UserControl x:Class="OverviewMap.AddIns.MyConfigDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:esriExt="http://schemas.esri.com/arcgis/client/extensibility/2010"
xmlns:esri="http://schemas.esri.com/arcgis/client/2009"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400">
<UserControl.Resources>
<esriExt:MapApplicationBindingSource x:Key="MapApplication"/>
</UserControl.Resources>
<Grid x:Name="LayoutRoot" Background="Transparent">
<esri:OverviewMap Map="{Binding Map, Source={StaticResource MapApplication}}" Height="250" Width="300">
<esri:OverviewMap.Layer>
<esri:ArcGISTiledMapServiceLayer ID="Topo" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" />
</esri:OverviewMap.Layer>
</esri:OverviewMap>
</Grid>
</UserControl>
Hi You have overview map layer url hard coded, what if I want to configure it when adding tool? I have tried to remove url from and while loading the tool, it get it's layer and try to set url but it did not work? Any body can help? Regards, JAMIL
... View more
07-26-2013
04:53 AM
|
0
|
0
|
212
|
POST
|
Hi, I have graphic layer and loading graphics on it using query task. I also have a map tip to display the attribute data in the map tip. Graphic layer is being created programmatically and also creating map tip programmatically. I have written the following code on the query task complete event. var gl = (GraphicsLayer)MainMap.Layers["MyGraphicLayer"];
var features = args.FeatureSet.Features;
gl.Graphics.Clear();
foreach (var graphic in features)
{
graphic.Symbol = (Symbol)Application.Current.Resources["MySymbol"];
graphic.MapTip = new MyMapTip(graphic);
GraphicsLayer.SetMapTipHideDelay(graphic.MapTip, new TimeSpan(0, 0, 0, 0, 500));
gl.Graphics.Add(graphic);
} This is the constructor of my MyMapTip user control public MyMapTip(Graphic graphic)
{
InitializeComponent();
DataContext = graphic.Attributes;
} This is the xaml of the user control ,where I define the binding and display an attribute value. <StackPanel Orientation="Horizontal">
<TextBlock VerticalAlignment="Center"
FontSize="10"
FontWeight="Bold"
Foreground="Black"
Text="Nombre: " />
<TextBlock HorizontalAlignment="Left"
VerticalAlignment="Center"
FontSize="10"
Foreground="Black"
Text="{Binding [NOMBRE]}" />
</StackPanel> Now when I mouse over the graphic, map tip appears but i never disappear after 0.5 sec. It stays there unless I pan/zoom or mouse over to other graphics on the map. Any one can suggest, what I am making mistake?
... View more
11-09-2012
11:26 AM
|
0
|
1
|
569
|
POST
|
Hi, I read the post, and trying to following that. I have created a data template. [HTML]<DataTemplate x:Key="maptip"> <Border esri:GraphicsLayer.MapTipHideDelay="0:0:0.5"> <StackPanel Orientation="Horizontal"> <TextBlock VerticalAlignment="Center" FontSize="10" FontWeight="Bold" Foreground="Black" Text="Nombre: " /> <TextBlock HorizontalAlignment="Left" VerticalAlignment="Center" FontSize="10" Foreground="Black" Text="{Binding [NOMBRE]}" /> </StackPanel> </Border> </DataTemplate>[/HTML] Then using, the code to define the map tip and binding. gl.MapTip = new ContentControl() { ContentTemplate = (DataTemplate)Application.Current.Resources["maptip"] };
gl.MapTip.SetBinding(ContentControl.ContentProperty, new Binding()); But data does not appear. How can I display the attributes data? I might need to define binding in different way. Regards, JAMIL
... View more
11-09-2012
11:00 AM
|
0
|
0
|
261
|
POST
|
Hi James, Not really. Later client decided, not to use basemap. So right now we are not using basemap. JAMIL Hi Jamil, were you able to resolve this? I have the same problem of my basemap not refreshing once I've changed the extent or scale. Thanks, James
... View more
10-24-2011
01:50 AM
|
0
|
0
|
397
|
POST
|
Hi Guys, I am facing a problem regarding map min/max resolution. Here is my scenario. I have map created in xaml and there is no layer at that time. Lator on based on some user's selection in the application, we load map (cached/dynamic) based on user's selection. We are showing one map at a time, that is, map will have either dynamic layer or tiled layer. Now problem is, let's say at first time, user load's dynamic map, there is no min/max resolution set so zoom slider does not appear and that is fine. After that user loads cached map, that is tiled map service layer so in the documentation layer it is mentioned that, when map have tiled map service layer, it will initialize the min/max resolution of the map automatically. So zoom slider appears and work's perfectly. But when user loads dynamic map, those values (min/max resolution) donot reset and zoom slider bound the dynamic map to zoom in/out at the specific level. So in other words, it keeps the min/max resolution values of tile map service layer which was added previously. After reading some post, I found that we might have to reset the min/max resolution manually. So what I did, in case of dynamic map, I set
map.MinimumResolution = System.Double.Epsilon;
map.MaximumResolution = System.Double.MaxValue;
but I am not sure how to set min/max resolution in case of tiled map service layer. I notice the layer have propertys MinimumResolution and MaximumResolution but those values like 0 and Infinity. Please help. Regards, JAMIL
... View more
10-22-2011
03:32 AM
|
0
|
1
|
1161
|
POST
|
Anyone have answer on this? I don't know why but ESRI community is very slow to answers. JAMIL
... View more
10-16-2011
01:29 PM
|
0
|
0
|
91
|
POST
|
Hello Guys! I am first time using ESRI Flex API for GIS programming. I have question to ask from community. What kind of design patter should I use when working with ESRI Flex API? Like, when working with Flex ActionScript 3, people uses PureMVC, Cairngorm etc. Does this API work fine with these design patterns? Might be this question is little bit odd, but actually I uses ESRI Silverlight API in a silverlight application, and there I uses Model View View Model (MVVM) pattern, but lator I found that this API does not fully support MVVM yet. Thanks! JAMIL
... View more
10-16-2011
01:26 PM
|
0
|
1
|
1004
|
Title | Kudos | Posted |
---|---|---|
1 | 01-08-2018 09:05 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|