POST
|
Hello, I have been trying to find the answer as to 'how to add images to github so I can reference the images in my website?' Any thoughts on the matter is greatly appreciated.Thanks!!!!!! James
... View more
08-06-2015
04:21 AM
|
0
|
5
|
4314
|
POST
|
John, Thanks for your reply! I had the correct syntax. The problem occurred in my browser. I refreshed, and it is working now. Thanks again for the help!
... View more
08-06-2015
04:16 AM
|
0
|
0
|
743
|
POST
|
Hello,
Question: How do I link to Open Street Map (OSM)? Do I have to export the png file from Open Street? Do i have to reference it from OSM?
var startPoint = [34.227700, -84.250717];
var map = L.map('map', {attributionControl: false, editInOSMControl: true, editInOSMControlOptions: {position: 'topleft'}}).setView(startPoint, 17),
tilelayer = L.tileLayer("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {maxZoom: 20, legend: LEGEND, openLegendOnLoad: true, attribution:osmDataAttr}).addTo(map),
hash = new L.Hash(map);
legend = (new L.Control.TileLegend()).addTo(map);
// legend = new L.TileLegend(map, tilelayer, L.DomUtil.get('leaflet-control-tilelegend-container'), LEGEND);
// legend.open();
</script>
... View more
08-05-2015
01:53 PM
|
0
|
2
|
3629
|
POST
|
Hey again, enableHighlight worked! It definitely took way too long seek help from GeoNet! Very easy! James
... View more
07-23-2015
09:52 AM
|
0
|
0
|
642
|
POST
|
Thanks, I am new to arcGIS API for JavaScript. I am beginning to understand. Thanks again!
... View more
07-23-2015
09:33 AM
|
0
|
0
|
642
|
POST
|
Hey, It loaded correctly but seemed to skip the simpleFill. Do I need to set it? Add it to featureLayer? Not sure. Thank You for your help! var search = new Search({
sources: [{
simpleFill: new SimpleFillSymbol(SimpleFillSymbol.STYLE_Null,
new SimpleLineSymbol (SimpleLineSymbol.STYLE_SOLID, new Color([255,0,0]), 2),
new Color([255,255,0,0,0.5])),
featureLayer: new FeatureLayer("http://services.arcgis.com/HYLRafMc4Ux6DA8c/arcgis/rest/services/Parks_Search/FeatureServer/1", {
mode: FeatureLayer.MODE_ONDEMAND,
outFields: ["*"],
infoTemplate: new InfoTemplate("Identify County Parks",
"Park Name: ${Name}</br>ParK Ownership: ${ParkType}</br>"),
}),
}],
map: map
}, "search");
search.startup();
});
map.addLayer(featureLayer);
... View more
07-23-2015
08:12 AM
|
0
|
3
|
642
|
POST
|
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no" />
<title>Search with Suggestion Template</title>
<link rel="stylesheet" href="http://js.arcgis.com/3.14/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="http://js.arcgis.com/3.14/esri/css/esri.css">
<script src="http://js.arcgis.com/3.14/"></script>
<style>
html,
body,
#map {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
#search {
display: block;
position: absolute;
z-index: 2;
top: 20px;
left: 74px;
}
</style>
<script>
require(["esri/map","esri/geometry/Extent", "esri/layers/ArcGISTiledMapServiceLayer", "esri/dijit/Search", "esri/layers/FeatureLayer",
"esri/InfoTemplate","esri/symbols/SimpleFillSymbol","esri/symbols/SimpleLineSymbol", "dojo/domReady!"],
function (Map, Extent,ArcGISTiledMapServiceLayer, Search, FeatureLayer, InfoTemplate, SimpleFillSymbol, SimpleLineSymbol) {
var map = new Map("map", {
extent: new Extent({xmin: -9464867.586310409, ymin: 3988479.973394642, xmax: -9359211.763174301, ymax: 4048458.624373842,spatialReference: {wkid: 102100}})
});
var basemap = new ArcGISTiledMapServiceLayer("http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer");
map.addLayer(basemap);
var featureLayerParks = new FeatureLayer("http://services.arcgis.com/HYLRafMc4Ux6DA8c/arcgis/rest/services/Parks_Search/FeatureServer/1", {
mode: FeatureLayer.MODE_ONDEMAND,
opacity:.5,
visible: FeatureLayer.isVisibleAtMapScale=true
});
map.addLayer(featureLayerParks);
var search = new Search({
sources: [{
sfs: new SimpleFillSymbol(SimpleFillSymbol.STYLE_Null,
new SimpleLineSymbol (SimpleLineSymbol.STYLE_SOLID, new Color([255,0,0]), 2),
new Color([255,255,0,0,0.5])),
featureLayer: new FeatureLayer("http://services.arcgis.com/HYLRafMc4Ux6DA8c/arcgis/rest/services/Parks_Search/FeatureServer/1", {
mode: FeatureLayer.MODE_ONDEMAND,
outFields: ["*"],
infoTemplate: new InfoTemplate("Identify County Parks",
"Park Name: ${Name}</br>ParK Ownership: ${ParkType}</br>"),
}),
}],
map: map
}, "search");
search.startup();
});
map.addLayer(featureLayer);
</script>
</head>
<body>
<div id="search"></div>
<div id="map"></div>
</body>
</html>
... View more
07-23-2015
07:34 AM
|
0
|
1
|
642
|
POST
|
Hello, I need direction. I want to modify Search using a suggestion template | ArcGIS API for JavaScript by incorporating the SimpleFillSymbol and SimpleLineSymbol. I feel I am close but still missing code. It will load but now the search box disappears. THANKS var search = new Search({
sources: [{
featureLayer: new FeatureLayer("http://services.arcgis.com/HYLRafMc4Ux6DA8c/arcgis/rest/services/Parks_Search/FeatureServer/1", {
mode: FeatureLayer.MODE_ONDEMAND,
outFields: ["*"],
infoTemplate: new InfoTemplate("Identify County Parks",
"Park Name: ${Name}</br>ParK Ownership: ${ParkType}</br>"),
sfs: new SimpleFillSymbol(SimpleFillSymbol.STYLE_Null,
new SimpleLineSymbol (SimpleLineSymbol.STYLE_SOLID, new Color([255,0,0]), 2),
new Color([255,255,0,0,0.5]))
}),
}],
map: map
}, "search");
search.startup();
});
map.addLayer(featureLayer);
... View more
07-23-2015
07:02 AM
|
0
|
7
|
3251
|
POST
|
Hello, How do I set the feature layer to disappear when zoomed into an Area of Interest? Any help is appreciated, references,or documents. Thanks! var featureLayerParks = new FeatureLayer("http://services.arcgis.com/HYLRafMc4Ux6DA8c/arcgis/rest/services/Parks_Search/FeatureServer/1", {
mode: FeatureLayer.MODE_ONDEMAND,
visible: FeatureLayer.isVisibleAtMapScale=true
... View more
07-22-2015
12:56 PM
|
0
|
1
|
2920
|
POST
|
Help! I am recently learning Eclipse and Java. I am also using the sample code provided by arcGIS Runtime for Java. I had several issues with the operators throwing errors. It stated the operators were not compatible with Java lower than 1.7. I am currently on 1.6. I will upgrade to see if it will correct the error. If anyone has experienced similar issues, please comment. THANKS! THANKS!
... View more
06-18-2015
11:59 AM
|
0
|
2
|
2583
|
POST
|
Hello, I am learning how to use Eclipse and ArcGIS Runtime SDK for Java. I am having a problem. I have set up according to Create a simple map application—ArcGIS Runtime SDK for Java | ArcGIS for Developers. When I run the app, I get an error message 'Could not find the main class.JFJune. Program will exit. Any help will be appreciated. Thanks
... View more
06-18-2015
10:10 AM
|
0
|
1
|
3606
|
POST
|
Hello, It is the same version. Tried a new version but still crashed and difficult to update thousands of records. I had wait until all GIS techs left for the day. Eventually worked by updating about 100 records at a time. Thanks
... View more
04-02-2015
10:54 AM
|
0
|
1
|
579
|
POST
|
I will try it after everyone leaves for the day. Thanks
... View more
03-17-2015
10:19 AM
|
0
|
3
|
579
|
POST
|
Hello, I am using arcMap 10.1. I right click on the field I want to update, select field calculator, I select in the list box which attribute column header I want to use to populate the field. Once I click okay. It takes a few seconds, then crashes. ---No error ----I have about 5 editing when I am editing-Could this be the problem? ---Also If I select 100-200 records, then it populates. This has worked before, but now I have thousands of records to update. Thanks
... View more
03-17-2015
09:57 AM
|
0
|
5
|
579
|
Title | Kudos | Posted |
---|---|---|
1 | 12-12-2014 06:44 AM | |
1 | 01-29-2015 07:27 AM | |
1 | 12-16-2014 10:39 AM | |
1 | 07-22-2015 12:25 PM | |
2 | 12-12-2014 02:13 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|