|
POST
|
i have a geodatbase in my sqlserver 2014 enterprise edition.i want to replicate peer to peer replication of geodatabase.imake replication but geodatabase not replicated.normal database replicated but geodatbase not replicated.i have two server A and B.i create replication for normal database it works.but geodatabase fail.if i want to insert any record from arcmap it not replicate two server B like normal database.Any help will highly appreciated. Thanks in advance.
... View more
05-06-2018
04:36 AM
|
0
|
3
|
688
|
|
POST
|
when i put my code like below it works <Image Source="password.png"> <Image.GestureRecognizers> <TapGestureRecognizer Command="{Binding TapCommand}" CommandParameter="Image1" /> </Image.GestureRecognizers> </Image> but when i place the image inside a datagrid cell <StackLayout Padding="20" Spacing="10" BackgroundColor="Green"> <dg:DataGrid ItemsSource="{Binding Test}" SelectionEnabled="True" SelectedItem="{Binding SelectedSiren}" RowHeight="30" HeaderHeight="50" BorderColor="#CCCCCC" HeaderBackground="#E0E6F8" ActiveRowColor="#8899AA" PullToRefreshCommand="{Binding RefreshCommand}" IsRefreshing="{Binding IsRefreshing}" > <dg:DataGrid.Columns> <dg:DataGridColumn Title="Logo" PropertyName="Logo" Width="100" SortingEnabled="False"> <dg:DataGridColumn.CellTemplate> <DataTemplate> <Image Source="{Binding}" HorizontalOptions="Center" VerticalOptions="Center" Aspect="AspectFit" HeightRequest="60"> <Image.GestureRecognizers> <TapGestureRecognizer Command="{Binding TapCommand}" CommandParameter="Logo" NumberOfTapsRequired="3"> </TapGestureRecognizer> </Image.GestureRecognizers> </Image> </DataTemplate> </dg:DataGridColumn.CellTemplate> </dg:DataGridColumn> <dg:DataGridColumn Title="NAMe" PropertyName= "Name" Width="2*"> </dg:DataGridColumn> </dg:DataGrid.Columns> <dg:DataGrid.RowsBackgroundColorPalette> <dg:PaletteCollection> <Color>#FFF2F2</Color> <Color>#FFFFFF</Color> </dg:PaletteCollection> </dg:DataGrid.RowsBackgroundColorPalette> </dg:DataGrid> </StackLayout> but when i place the image inside a datagrid cell template tapgesture not work.please help to solve this issue thanks in advance
... View more
10-05-2017
01:01 AM
|
0
|
0
|
1054
|
|
POST
|
Dear All, i have a question.I have one model view for picker and other model view for datagrid.i want to use both in a single view.if i use like below example <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:Picker="clr-namespace:TestApp.ViewModels;asembly=TestApp" xmlns:bindPicker="clr-namespace:Xamarin.Forms.BindablePicker;assembly=Xamarin.Forms.BindablePicker" xmlns:behaviors="clr-namespace:Behaviors;assembly=Behaviors" xmlns:DGViewModel="clr-namespace:TestApp.ViewModels.DataGrid" xmlns:ViewModels="clr-namespace:TestApp.ViewModels.PickerViewModels" xmlns:dg="clr-namespace:Xamarin.Forms.DataGrid;assembly=Xamarin.Forms.DataGrid" x:Class="TestApp.Views.OtherPages.Querypage"> <ContentPage.BindingContext> <ViewModels:ClsRegionPicker></ViewModels:ClsRegionPicker> <DGViewModel:ClsDataGridViewModel></DGViewModel:ClsDataGridViewModel> </ContentPage.BindingContext> </ContentPage> it only takes view model for picker and through error for datagrid. one way is that i merge in one viewmodel.But i want to keep both in seperate viewmodels. pls help. Thanks in advance
... View more
10-02-2017
10:18 PM
|
0
|
1
|
3853
|
|
POST
|
Dear Marcelo, I implement the code below for GeoViewTapped event.Behaviour class for tabbed event. using System; using System.Collections.Generic; using System.Text; using System.Windows.Input; using Esri.ArcGISRuntime.Xamarin.Forms; using Xamarin.Forms; using System.Diagnostics; using Esri.ArcGISRuntime.Geometry; namespace MasterDetail.Behaviors { class ClsCustomBehviour : BehaviorBase<MapView> { public static readonly BindableProperty CommandProperty = BindableProperty.Create(nameof(Command), typeof(ICommand), typeof(ClsCustomBehviour)); public ICommand Command { get { return (ICommand)GetValue(CommandProperty); } set { SetValue(CommandProperty, value); } } protected override void OnAttachedTo(MapView bindable) { base.OnAttachedTo(bindable); bindable.GeoViewTapped += this.TabbedPointAction; } /// <summary> /// /// </summary> /// <param name="bindable"></param> protected override void OnDetachingFrom(MapView bindable) { base.OnDetachingFrom(bindable); bindable.GeoViewTapped -= this.TabbedPointAction; } private void TabbedPointAction(object sender, Esri.ArcGISRuntime.Xamarin.Forms.GeoViewInputEventArgs e) { if (this.Command != null) { var mapClickPoint = e.Location; if (this.Command.CanExecute(mapClickPoint)) { this.Command.Execute(mapClickPoint); } } } } } ////View XAML//// <esriUI:MapView Map="{Binding MyMap}" GraphicsOverlays="{Binding GraphicsOverlays}"> <esriUI:MapView.Behaviors> <bh:SetMapViewViewportBehavior Viewpoint="{Binding Viewpoint}" /> <bh:MapViewViewpointChangedBehavior Command="{Binding UpdateViewpointCommand}" /> <bh:ClsCustomBehviour Command="{Binding TabbedClickCommand}" /> </esriUI:MapView.Behaviors> </esriUI:MapView> above is my view. ///View MODEL CLASS // TabbedClickCommand = new DelegateCommand<MapPoint>(tabbedPoint); TabbedClickCommand = new DelegateCommand(tabbedPoint); private void tabbedPoint() { Debug.WriteLine("Hello"); throw new NotImplementedException(); } when i click on the map the code run it comes into tabbedpoint event.and print hello.But when i execute like TabbedClickCommand = new DelegateCommand<MapPoint>(tabbedPoint); private void tabbedPoint(MapPoint obj) { throw new NotImplementedException(); } my code not execute.i could not find the way how to execute the below function.Because i need clicked location point for further process.Please help me.how to solve. Thanks again. Waiting........................
... View more
07-17-2017
01:37 AM
|
0
|
0
|
2621
|
|
POST
|
Dear Marcelo, I implement the code like you suggest.Its working great.I am facing other issue.I want to implement the mapview GeoViewTapped event.how to apply this in MVVM. waiting for reply. Thanks for your kind cooperation.
... View more
07-16-2017
09:33 AM
|
0
|
1
|
2621
|
|
POST
|
Dear Marcelo, Actually i want to calculate the distance from start to end point.and draw route.When draw route it should zoom to that route.i cant zoom to that path. Thanks in advance.I am waiting for the sample code.
... View more
06-11-2017
10:54 AM
|
0
|
1
|
2621
|
|
POST
|
Dear Marcelo Cesar Torres, Your code is in WPF.I ma using Xamarin forms.i am facing problem converting form WPF to xamarin form. Can you help. Thanks in advance.
... View more
06-07-2017
03:58 AM
|
0
|
6
|
6957
|
|
POST
|
Dear Antti Kajanus i read this.I need the sample example.so i fallow that.i try for GITHUB but link is not working.Please provide some samle example. Thanks
... View more
06-01-2017
01:34 AM
|
0
|
0
|
2621
|
|
POST
|
Dear Marcelo, i understand this property GraphicsOverlays.But if i have to call this method .SetViewpointGeometryAsync of mapview object.how i call this in my VeiwModel. Please help.Thanks in advance.
... View more
06-01-2017
12:56 AM
|
0
|
10
|
6957
|
|
POST
|
Dear Neilsen, i understand this property GraphicsOverlays.But if i have to call this method .SetViewpointGeometryAsync of mapview object.how i call this in my VeiwModel. Please help.Thanks in advance.
... View more
06-01-2017
12:55 AM
|
0
|
0
|
6957
|
|
POST
|
Dear All, i am using mvvm technique.my model class is given below. <Grid> <Grid.RowDefinitions> <RowDefinition Height="*" /> <RowDefinition Height="auto" /> </Grid.RowDefinitions> <Grid Grid.Row="0" RowSpacing="0" ColumnSpacing="0" BackgroundColor="Transparent"> <esriUI:MapView x:Name="MyMapView" Map="{Binding myMap}" BackgroundColor="GreenYellow" /> </Grid> <Grid Grid.Row="1" RowSpacing="0" ColumnSpacing="0" BackgroundColor="Transparent"> <Button Text="Direction" BackgroundColor="Black" TextColor="White" Command="{Binding Hello}" /> </Grid> </Grid> On my button click i want to ACCESS MyMapView in my model in modelview class.I cant under stand how i get the reference of this MyMapView on event in modelview.because on click event i want to add some graphics on my map. please help.Thanks in advance. please help. Thanks in advance
... View more
05-31-2017
04:07 AM
|
0
|
16
|
16394
|
|
POST
|
Dear all, i have two arcgis server.one is installed on my local machine.Other is on our production server. Below is my code for print button. esriConfig.defaults.io.corsDetection = false; esriConfig.defaults.io.alwaysUseProxy = false; esriConfig.defaults.io.proxyUrl = "http://machineName/Proxy/proxy.ashx" var url ='http://MachineNAme/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task'; var printTask = new PrintTask(url); var template = new PrintTemplate(); template.exportOptions = {width:1000,height:400,dpi: 96}; template.layoutOptions = { titleText: "Mosques", scalebarUnit: "Miles", authorText: "Made by: Esri's JS API Team", copyrightText: "<copyright info here>", legendLayers: [], }; template.format = "PDF"; template.layout = "A3 Landscape";//"A3 Portrait";//"MAP_ONLY"; template.preserveScale = true; template.showLabels=false; var params = new PrintParameters(); params.map = map; params.template = template; //printTask.execute(params, printResult); printTask.execute(params).then(printResult, printError); function printResult(result) { window.open(result.url, "_blank") } function printError(error) { alert(error); } when i use localhost instead of machine name in printtask.it works properly.even in proxy i use domain url of production server.But when i use print task url of production server it throws me error.that is given below. Error: Unable to complete operation. at Object.g.load (js.arcgis.com/3.20/init.js:984) at js.arcgis.com/3.20/init.js:87 at c (js.arcgis.com/3.20/init.js:103) at d (js.arcgis.com/3.20/init.js:103) at a.Deferred.resolve.callback (js.arcgis.com/3.20/init.js:105) at c (js.arcgis.com/3.20/init.js:104) at d (js.arcgis.com/3.20/init.js:103) at a.Deferred.resolve.callback (js.arcgis.com/3.20/init.js:105) at js.arcgis.com/3.20/init.js:92 at n (js.arcgis.com/3.20/init.js:107) i could not understand. http://MachineName/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task. when i press this link.it give me the attached file page.it means network works properly.so why not response came. or y not my print work for public ip.My arcgis server is on domain network. Thanks.
... View more
04-26-2017
02:00 AM
|
0
|
0
|
736
|
|
POST
|
Dear Antti Kajanus, i find the given below class for windows store.but i could not find any class for xamarin and android. Esri.ArcGISRuntime.Tasks.Offline.ExportTileCacheDownloadProgress is there any class in xamarin work like this. thanks in advance.
... View more
01-04-2017
02:51 AM
|
0
|
1
|
838
|
|
POST
|
Dear All, I have the questions for making sync of my progressbar with download and sync geodatabases in xamarin forms application.my client want i should make one progressbar which show the progress of download geodatabase as progressbar increases.And same when i sync my localdatabase to server database it also show with progress bar.when progressbar complete 100%.the download and upload sync task should complete any solution.Thanks in advance.
... View more
12-27-2016
12:19 AM
|
0
|
4
|
1852
|
|
POST
|
Hi, i am facing the same problem even on new application some time.
... View more
12-12-2016
04:06 AM
|
0
|
0
|
3469
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-04-2020 12:17 PM |
| Online Status |
Offline
|
| Date Last Visited |
05-30-2023
10:23 PM
|