POST
|
Hi Paul, Just shared my understanding: HTTPS : everything on portal page will be https, portal always communicate with the others using https. you can't add data that used http as url. HTTP and HTTPS : only confidential pages will be used https by default (login page, signup, my organization, profile). however you can use both http and https for every pages. for example: if you setup as http and https, your map viewer by default will be http://domainname/arcgis/home/webmap/viewer.html however its still work if you changed to https://domainname/arcgis/home/webmap/viewer.html. if your data published using http, make sure your mapviewer is http instead of https. for error 403, would you share what your webserver and how you setup your webadaptor ? Regards, Amri
... View more
10-31-2016
09:19 PM
|
0
|
1
|
1894
|
POST
|
Hi Ali, 1. you have to publish your own basemap through your ArcGIS Server, the service type is map cached. you can follow to this url for the tutorial : Tutorial: Creating a cached map service—Documentation | ArcGIS for Server 2. to change your portal basemap gallery use your local basemap, you can follow this documentation : http://server.arcgis.com/en/portal/latest/administer/windows/customize-basemaps.htm Customize basemaps—Portal for ArcGIS (10.4.1) | ArcGIS for Server Regards, Amri
... View more
06-06-2016
06:39 PM
|
1
|
0
|
461
|
POST
|
Hi Max, For custom printing tools, you can refer to this url : Tutorial: Publishing additional services for printing—Documentation | ArcGIS for Server here is the step to add your image/logo to print layout template 1. prepare your layout template. 2. click Insert menu > Picture. 3. once the image has added on your layout, right click on that image, select properties. 4. check option save image as Part of Document 5. run export web map tools 6. publish gp result as gp services 7. do the print using your new gp print service Regards, Amri
... View more
04-19-2016
10:49 PM
|
2
|
1
|
488
|
POST
|
Hi, Here is my code to show DMS coordinates on Map Screen using ArcGIS API Javascript // Coordinates on Screen
map.on("load", function() {
//after map loads, connect to listen to mouse move & drag events
map.on("mouse-move", showCoordinates);
map.on("mouse-drag", showCoordinates);
});
function deg_to_dms (deg) {
var d = Math.floor (deg);
var minfloat = (deg-d)*60;
var m = Math.floor(minfloat);
var secfloat = (minfloat-m)*60;
var s = Math.round(secfloat);
if (s==60) {
m++;
s=0;
}
if (m==60) {
d++;
m=0;
}
return ("" + d + '°' + m + '\'' + s + '" ');
}
function showCoordinates(evt) {
//the map is in web mercator but display coordinates in geographic (lat, long)
var mp = webMercatorUtils.webMercatorToGeographic(evt.mapPoint);
//convert DD to DMS
var lat = deg_to_dms(mp.y);
var lon = deg_to_dms(mp.x);
//display mouse coordinates
dom.byId("coordinate").innerHTML = lat + 'N' + ", " + lon + 'E';
} Regards, Amri
... View more
03-29-2016
11:31 PM
|
0
|
0
|
459
|
POST
|
Hi Mark, Thank you, your advice is very helpful for me. I got the same error with shaning. the root cause is i didn't start tcp input that pointing to geoevent simulator port. once tcp input started, the simulator working as well. thanks
... View more
02-24-2016
04:18 AM
|
2
|
0
|
1114
|
POST
|
Hi, I tried to download your data, and view through offline viewer, here is the log : 29150ms: Loading scene file : Bonifacio_Final.3ws 29752ms: Using custom unzip and streamparser on arraybuffer 31197ms: Reading: 76% (16.63 of 22 MB) 31266ms: Invalid Web Scene (3ws) data clarinet parser error in Bonifacio_Final.3ws: Error: Max buffer length exceeded: textNode Line: 1 Column: 883400 Char: seems your data is not valid or corrupted.
... View more
02-19-2016
05:37 PM
|
0
|
1
|
300
|
POST
|
Hi James, here is the example to create your own map services as your basemap : https://jsfiddle.net/geoholix/ez4kn0uw/ as you mentioned you have to build the system in closed environment, you also need to install ArcGIS API for Javascript in your environment and add it in your code. goodluck amri
... View more
09-16-2015
11:17 PM
|
0
|
4
|
642
|
POST
|
hello, by default basemaps in portal for arcgis consumed online tiledservices from services.arcgisonline.com, so the basemaps only available if you have internet connection. if you want to access basemap without internet connection (offline or intranet). you can publish your own basemap in your arcgis server (generate cache in you map services for best performance). one of DVD installer of ArcGIS Server included cached basemap, however the LOD is limited. once your map services for basemaps are ready, you can following this step. 1. create new group in your portal for arcgis for example name it as local basemap (share group for everyone) 2. add your map service to your portal for arcgis, save it as webmap and share it to group local basemap 3. go to my organization > edit settings > select Map 3. in Basemap Gallery, change default to local basemap (your group for basemap) 4. in Default basemap, select one of your custom basemap name (name of this referred to your webmap name) 5. save settings. Regards
... View more
09-10-2015
01:14 AM
|
2
|
0
|
419
|
POST
|
what if get the extent based on map service, esri/graphicsUtils | API Reference | ArcGIS API for JavaScript after that, zoom the map to the updated mapservice using map.setExtent
... View more
04-29-2015
12:00 AM
|
0
|
0
|
451
|
POST
|
here is the example from esri : https://developers.arcgis.com/javascript/jssamples/map_switch_layer_on_zoom.html hope this helps Amri
... View more
04-24-2015
03:34 AM
|
1
|
2
|
451
|
POST
|
Russel, I found the sample like that on here : deangit/brandy · GitHub Amri
... View more
03-20-2015
06:00 PM
|
1
|
1
|
496
|
POST
|
Hi Bjorn, Thanks for the info, that is what I waiting for.
... View more
03-18-2015
06:16 PM
|
0
|
0
|
425
|
POST
|
Hi Matt this is really cool, the app code will be more clean due to the less code.
... View more
03-07-2015
06:51 PM
|
0
|
0
|
1318
|
POST
|
Hi All, I'm newbie in dojo. I have created TabContainer programmatically based on dojotoolkit tutorial. here is the code require(["dijit/layout/TabContainer", "dijit/layout/ContentPane","dojo/dom", "dojo/domReady!"],
function(TabContainer, ContentPane,dom){
var tc = new TabContainer({
style: "height: 100%; width: 100%;"
}, "layerPanel");
var layerlistMenu = new ContentPane({
title: "Layer",
content: "this is layer list"
});
tc.addChild(layerlistMenu);
var legendMenu = new ContentPane({
title: "Legend",
content: "this is legend"
});
tc.addChild(legendMenu);
tc.startup();
}); here is the actual result, the content is harcoded. I have legend variable in another script like this : var legend = new Legend ({
map: map
}, "legendDiv");
legend.startup(); I want to assign the legend content to legend tab. here is my expectation : I did it using declarative method, could anyone please advice me how to assign legend content using programmatically method ? thank you -amri-
... View more
03-06-2015
02:13 AM
|
0
|
1
|
2603
|
POST
|
Joe, I'm glad to hear that. for the future if you want to check the port has opened or not you could use telnet command from client side. Warm Regards
... View more
02-01-2015
05:34 PM
|
0
|
0
|
2658
|
Title | Kudos | Posted |
---|---|---|
2 | 01-27-2015 06:00 PM | |
2 | 02-24-2016 04:18 AM | |
1 | 04-24-2015 03:34 AM | |
1 | 06-06-2016 06:39 PM | |
1 | 03-20-2015 06:00 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|