|
POST
|
Cool, thanks. I know it's unrelated to 4.0 - that's why I brought it up as a side note. I wasn't sure if there would be another 3.x version before 4.0 - if 3.14 was like a phantom staging branch, or something like that, since I couldn't find any press releases about 3.14. Just wanting to make sure when we move to 4.0 it'll still be fixed!
... View more
07-10-2015
06:04 PM
|
1
|
2
|
3568
|
|
POST
|
Hey Bjorn, I can't wait for the release! On a side note, I put in a bug for a legend issue in v3.13 - BUG-000086150 - Legend fails with JSON data in ArcGIS API for Java.. The report indicates it's fixed in 3.14 - has 3.14 been officially released? I see the init.js script is available when I try to load it from the CDN.
... View more
07-10-2015
05:05 PM
|
1
|
4
|
3568
|
|
POST
|
Jose, Is using DataGridView in .NET a definite requirement? If not, and you're using the JS API, check out Using FeatureTable | ArcGIS API for JavaScript I am using the JS API on a site with a vb.net back-end... Not sure if you are in a similar scenario - by add-in, are you referring to extending ArcGIS Desktop? If so, you can disregard my suggestion! Looks like Ken has a solution for that.
... View more
07-10-2015
08:03 AM
|
0
|
0
|
1301
|
|
POST
|
Here's a working sample, slightly modified from yours: <!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
<title>My Map</title>
<link rel="stylesheet" href="http://js.arcgis.com/3.13/esri/css/esri.css">
<style>
html, body, #map {
padding:0;
margin:0;
height:100%;
}
</style>
<script src="//js.arcgis.com/3.13/"></script>
<script>
require([
"dojo/ready",
"dojo/parser",
"esri/map",
"esri/geometry/Point",
"esri/symbols/SimpleMarkerSymbol",
"esri/symbols/SimpleLineSymbol",
"esri/graphic",
"esri/geometry/Polyline",
"esri/SpatialReference"
], function(
ready,
parser,
Map,
Point,
SimpleMarkerSymbol,
SimpleLineSymbol,
Graphic,
Polyline,
SpatialReference
) {
ready(function() {
parser.parse();
myMap = new Map("map", {
basemap: "streets",
center: [-122.16,37.7238],
zoom: 15,
SpatialReference: 4326
});
myMap.on("load", function() {
var point1 = new Point(-122.159, 37.724, myMap.SpatialReference);
var point2 = new Point(-122.169, 37.721, myMap.SpatialReference);
var line = new Polyline(myMap.SpatialReference);
line.addPath([point1, point2]);
var lineSymbol = new SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([255,0,0,0.5]),4);
var pointSymbol = new SimpleMarkerSymbol().setColor(new dojo.Color([255,0,0, 0.5]));
myMap.graphics.add(new Graphic(point1, pointSymbol));
myMap.graphics.add(new Graphic(point2, pointSymbol));
myMap.graphics.add(new Graphic(line, lineSymbol));
});
});
});
</script>
</head>
<body>
<div id="map" class="map">
</div>
</body>
</html>
... View more
07-09-2015
07:31 PM
|
0
|
1
|
1282
|
|
POST
|
I wonder, you might also be able to call JavaScript from Flex - Adobe Flex 4.6 * Accessing JavaScript functions - and then use Ajax to send the e-mail - How to send an email from JavaScript - Stack Overflow - using something called Mandrill (seems like there are potential security/abuse issues here).
... View more
07-09-2015
08:16 AM
|
1
|
0
|
1901
|
|
POST
|
Chris, I came across a blog where a developer created a library to do this: Coltware – AIR/Flex/ActionScript 3: airxmail I don't have any experience with this, but it seems others have mentioned airxmail since mailto doesn't support attachments in Flex. No one reported back with findings, though! mailto: with Attachement from Flex | Adobe Community
... View more
07-09-2015
07:25 AM
|
2
|
0
|
1901
|
|
POST
|
Seems to work - try this example in the sandbox: ArcGIS API for JavaScript Sandbox Adding something like this appears to help a bit when the pop-up is panned off-screen: map.on("pan-end", reposition);
function reposition() {
if (popup.isShowing === true){
popup.reposition();
console.log('pop-up repositioned...');
}
} I added this bit of code right after line 125.
... View more
07-09-2015
07:07 AM
|
1
|
4
|
3010
|
|
POST
|
Would manually setting an anchor help you at all? If you're using the Popup class, it's actually supposed to compute this automatically by default... Maybe setting it to the middle would decrease the effects of having the pop-up appear off screen. https://developers.arcgis.com/javascript/jsapi/popup.html#anchor Also, reposition may be helpful: https://developers.arcgis.com/javascript/jsapi/popup.html#reposition I've had similar issues in the past embedding maps within an iFrame - the pop-up would appear slightly out-of-frame... if the point feature is too far out, the anchor should reset upon re-opening (say from right/center to left), but this doesn't always happen, I've noticed. I've made a lot of changes recently, and it seems it does a better job now, so it may have been an issue with the container... I'm not sure. I wonder if you could manually have the pop-up repositioned after a feature/map event, say a pan/zoom end. I'm trying this now...
... View more
07-09-2015
05:57 AM
|
0
|
5
|
3010
|
|
POST
|
According to the documentation, you can use XML: Input Connectors—Real-time Data Feeds and Sensors (10.3 and 10.3.1) | ArcGIS for Server
... View more
07-08-2015
03:09 PM
|
1
|
0
|
4002
|
|
POST
|
Chris, This might help: c# - how to create textbox dynamically after click (button)? asp.net - Stack Overflow and this: c# - Dynamically add a new text box when clicking a button - Stack Overflow
... View more
07-08-2015
02:55 PM
|
0
|
0
|
799
|
|
POST
|
Try exporting as a flat file (.txt) and then opening from within a blank Excel doc. From here, you can specify your delimiters, then format the date field as you wish. So, from within ArcMap, open your feature table, export, select "text" as type, then save. Side note... shapefiles and coverages will truncate time, so use a gdb table/fc... Once you have the .txt, you can open and see the data exported correctly, e.g.: "OBJECTID","Date_Field" 1,1/2/1985 13:00:56 From here: 1) Open a blank Excel doc 2) Open the file from within Excel (make sure you select "All files", not just "All Excel files", otherwise your file will not show-up in the list) 3) In the text import wizard, choose "delimited" 4) Check "My data has headers" if it does 5) Next 6) Choose "Comma" as the delimiter 7) Uncheck "Tab" 😎 Choose your text qualifier (" is probably fine for you) 9) Next 10) Assign each fields' format 11) On your date field, choose "MDY" 12) Finish After the excel doc opens with your data, you can format it even more under "Custom" in the Excel fields' "Format Cells" window , for example: mm/dd/yyyy hh:mm:ss AM/PM This will preserve your original format requirement "MM/DD/YYYY 00:00:00 AM"
... View more
07-08-2015
02:29 PM
|
2
|
0
|
2576
|
|
POST
|
From the STR polygon layer, you can create centroid points, reproject to WGS (if not already in a geographic coordinate system), then, add x,y data. 41027 - Calculate feature centroids
... View more
07-08-2015
07:19 AM
|
0
|
0
|
1698
|
|
POST
|
Maybe this will help? http://www.saudigis.org/fckfiles/file/saudigisarchive/3rdgis/papers/65_e_mostafaaboughanem_ksa.pdf Esri and SAP—A New Frontier in Decision Analytics | Esri User Conference
... View more
07-08-2015
06:58 AM
|
0
|
1
|
1156
|
|
POST
|
No problem! Another thing you could do is aggregate all of the RSS feeds using something like RSS Mix (RSS Mix - Mix any number of RSS feeds into one unique new feed! ), to get something like My feed. It might make getting all of your targeted locations easier.
... View more
07-07-2015
11:53 AM
|
0
|
0
|
2191
|
|
POST
|
Regarding data, are you looking for something like this? https://www.tidetimes.org.uk/all Here's an example page - Aberdeen Tide Times | Tide Times with RSS feeds at the bottom of each page - https://www.tidetimes.org.uk/aberdeen-tide-times.rss Here's a tutorial on using RSS feeds: http://www.arcgis.com/home/item.html?id=29f0689ec924498c9baf3bb2812dc78c What would be really helpful is if you could find an all encompassing GeoRSS feed of tidal data, something like Recent UK earthquakes but for tidal data. I wasn't able find anything like this briefly searching. You might be able to join the data from the RSS, though. Honestly, I haven't done much with streaming data to a web mapping application, but am looking to do so in the future and so have been researching.
... View more
07-07-2015
11:39 AM
|
1
|
2
|
2191
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-16-2020 01:25 PM | |
| 1 | 03-20-2019 09:07 AM | |
| 2 | 07-31-2015 07:31 AM | |
| 1 | 09-14-2015 12:14 PM | |
| 1 | 05-12-2015 12:04 PM |
| Online Status |
Offline
|
| Date Last Visited |
07-27-2023
02:30 AM
|