POST
|
Hi all, Can anyone show me some sources to download the data excel file for making map with Esri Maps for Office software ? I often go to census.gov to download some files but data is not updating. Please help me 🙂 Wish you will have a good working day. Best Regards, Phuong Nguyen
... View more
12-05-2013
03:50 AM
|
0
|
0
|
1039
|
POST
|
Oh by the way, after I upload and share my map, my CSV file always shows nothing 😞 anyone helps me please 😞
... View more
12-03-2013
07:35 AM
|
0
|
0
|
223
|
POST
|
Hi all, I'm practicing Esri Maps for Office by creating some maps and layers from excel file but there is a problem that I can't figure out. In Esri Maps for Office, I add data from excel file and then click on map it shows all the data that I chose but in browser(firefox and chrome) it misses some data like this picture [ATTACH=CONFIG]29532[/ATTACH] Please help me to fix that problem 😄 😄 Best Regards, Phuong Nguyen
... View more
12-03-2013
07:25 AM
|
0
|
1
|
2937
|
POST
|
Hi everybody, I'm using the Esri Map for Office to create the layer that will indicate the unemploy rate for each states. But when I'm doing it just shows just only one color (green). Can I change the color for each state ? For example: Alabama is pink, New York is blue...etc... Please help me !!!!! Best Regards, Phuong Nguyen [ATTACH=CONFIG]29519[/ATTACH]
... View more
12-02-2013
11:37 PM
|
0
|
2
|
2668
|
POST
|
I'm waiting for the code assit for AMD coding style in version 3.7 😞
... View more
11-27-2013
07:17 AM
|
0
|
0
|
243
|
POST
|
Hi Sorry for the late reply. As per your requirment, what I can suggest conceptually (not sure if this can be implemented): 1. Get the map point where you click this you can get by attaching an event listener to the map map.on("click",getmapPoint) function getmapPoint(evt){ var mapX = evt.mapPoint.x; var mapy = evt.mapPoint.y; } 2. Use the geometry service and create buffer. 3. Use the buffer graphic to find the points which can be plotted on the map(real challenge is here to get the points and show on the map). 4. Use the plotted points(facilities) and Point (incident) where the map is clicked to find the route between them. Hope this helps. Although I will try to work and if I am able to reproduce this scenario will send you the code snippet. Regards, Manish Thanks Manish ! I will try to do this 😄 😄
... View more
10-11-2013
08:43 AM
|
0
|
0
|
471
|
POST
|
It looks like you're trying to code in AMD style (which is preferred and the best way to go about writing an application using the ESRI JSAPI). On the Intellisense page you linked: Note: As of v3.6, coding in AMD style is not supported yet. I wouldn't worry about using the plugin until it is updated. Thank you Jon.Uihlein ! I got it
... View more
10-11-2013
08:35 AM
|
0
|
0
|
609
|
POST
|
I'm trying the second basic tutorial : https://developers.arcgis.com/en/javascript/jstutorials/intro_agstemplate_amd.html The code doesn't work, even in the sandbox : http://developers.arcgis.com/en/javascript/sandbox/sandbox.html?sample=map_webmap (map is blank) I've tested it with IE9 and FF24 ; same results ! Where is the problem ? Sample codes aren't right ? Thanks for your help. Alex.
<!DOCTYPE html>
<html>
<head>
<title>Create a Web Map</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" type="text/css" href="http://js.arcgis.com/3.7/js/esri/css/esri.css">
<style>
html,body,#mapDiv,.map.container{
padding:0;
margin:0;
height:100%;
}
#legendDiv{
background-color: #fff;
position: absolute !important;
z-index: 99;
top:10px;
right:20px;
}
</style>
<script>var dojoConfig = { parseOnLoad:true };</script>
<script src="http://js.arcgis.com/3.7compact/"></script>
<script>
var map,
webmapId = "1a40fa5cc1ab4569b79f45444d728067";
require([
"esri/map",
"esri/arcgis/utils",
"esri/dijit/Legend",
"dojo/domReady!"
], function (Map, arcgisUtils, Legend) {
arcgisUtils.createMap(webmapId, "mapDiv").then(function (response) {
map = response.map;
var legend = new Legend({
map: map,
layerInfos:(arcgisUtils.getLegendLayers(response))
}, "legendDiv");
legend.startup();
});
});
</script>
</head>
<body>
<div id="mapDiv"></div>
<div id="legendDiv"></div>
</body>
</html>
Check this 😄
... View more
10-11-2013
05:14 AM
|
0
|
0
|
519
|
POST
|
Hi Phuong, Did you add a <script> tag that references to the code assist document. <script type="text/javascript" src="path_to_the_code_assist_document"></script> Thats should do the trick. I just tried that at my end and it works fine. [ATTACH=CONFIG]0[/ATTACH] Let me know the results. [ATTACH=CONFIG]28253[/ATTACH] Thanks & Regards, Manish Hi Manish, I already added this script to my file but it's still not working Here's my pic[ATTACH=CONFIG]28262[/ATTACH] Here's my location file [ATTACH=CONFIG]28263[/ATTACH] Best Regards, Phuong Nguyen
... View more
10-11-2013
02:39 AM
|
0
|
0
|
609
|
POST
|
Hi all ! I download the code plugin to do web map project in here : https://developers.arcgis.com/en/javascript/jsapi/api_codeassist.html . I do all the steps. But it shows me that problem 😞 [ATTACH=CONFIG]28252[/ATTACH] Please help me 😞 Best Regards, Phuong Nguyen
... View more
10-10-2013
10:26 PM
|
0
|
5
|
840
|
POST
|
I have fixed a lot of errors. Now you can continue on this code ...
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=7, IE=9, IE=10"/>
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/>
<link rel="stylesheet" href="http://js.arcgis.com/3.6/js/dojo/dijit/themes/claro/claro.css"/>
<link rel="stylesheet" href="http://js.arcgis.com/3.6/js/esri/css/esri.css"/>
<script src="http://js.arcgis.com/3.6/" type="text/javascript"></script>
<title>Routing</title>
<style type="text/css">
html, body, #map
{
height: 100%;
margin: 0;
padding: 0;
}
</style>
<script type="text/javascript">
var map, serviceAreaTask, params, routeparams, routeTask;
require([
"dojo/_base/Color",
"esri/map",
"esri/graphic",
"esri/symbols/SimpleMarkerSymbol",
"esri/symbols/SimpleLineSymbol",
"esri/tasks/FeatureSet",
"esri/tasks/RouteTask",
"esri/tasks/RouteParameters",
"esri/tasks/RouteResult",
"dojo/domReady!"
],
function (Color, Map, Graphic, SimpleMarkerSymbol, SimpleLineSymbol, FeatureSet, RouteTask, RouteParameters, RouteResult) {
//esriConfig.defaults.io.proxyUrl = "/proxy";
map = Map("map", {
basemap: "streets",
center: [-86.18, 40.22],
zoom: 16
});
routeparams = new RouteParameters();
routeparams.attributeParameterValues = [{ attributeName: "Time", parameterName: "Speed class 13", value: "10"}];
routeparams.outSpatialReference = map.SpatialReference;
routeparams.returnRoutes = true;
routeparams.returnStops = true;
routeparams.stops = new FeatureSet();
routeTask = new RouteTask("http://tasks.arcgisonline.com/ArcGIS/rest/services/NetworkAnalysis/ESRI_Route_NA/NAServer/Route");
map.on("click", showRoute);
function showRoute(evt) {
console.log("click");
//map.graphics.clear();
var stopSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_CROSS,
20,
new SimpleLineSymbol(
SimpleLineSymbol.STYLE_SOLID,
new Color([89, 95, 35]), 2
),
new Color([130, 159, 83, 0.40])
);
var g = new Graphic(evt.mapPoint, stopSymbol);
map.graphics.add(g);
routeparams.stops.features.push(g);
if (map.graphics.graphics.length != 2) {
return;
}
routeTask.solve(routeparams, function (solveRoute) {
var lineRoute = new SimpleLineSymbol(SimpleLineSymbol.STYLE_DASH, new Color([254, 0, 0]), 3);
dojo.forEach(solveRoute.routeResults, function (routeResult) {
var g = routeResult.route;
g.setSymbol(lineRoute);
map.graphics.add(g);
});
});
}
});
</script>
</head>
<body class="claro">
<div id="map">
</div>
</body>
</html>
Dear Ciava, You are my savior 🙂 🙂 many many thanks to you :D. And by the way, can you guide me how to automatically show all the routes or points that we can go in 10 minutes by car when we open a web map (I use "onload" function and serviceAreaTask) Thank you, Phuong Nguyen
... View more
10-08-2013
12:18 PM
|
0
|
0
|
462
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|