|
POST
|
Hi, I was waiting for this to appear in 4.2 as well, but unfortunately it obviously didn't make it. I needed some drawing capability so created a class to do it. Have put it in this github repo - https://github.com/nickcam/angular2-esri-netcore It's an angular2 and .Net core project but the drawTools class within the project itself doesn't use anything angular2 related so you could just copy it and use it somewhere else. Hope it helps.
... View more
01-24-2017
07:26 PM
|
1
|
0
|
868
|
|
POST
|
Hi Tony, Just had a chance to try this out and it is working well, thanks again! I also have an absolutely positioned menu system on top of the map. I added the below to stop the menus from bouncing around when panning the map. //disable scroll on the map containers so the menu doesn't bounce around when panning the map
let mapContainers = document.querySelector(".view");
mapContainers.addEventListener('touchmove', function (event) {
event.preventDefault();
}, false);
... View more
12-06-2016
08:42 PM
|
0
|
0
|
2834
|
|
POST
|
Hi Tony, Thanks heaps for this! I'll give it a try when I get a chance and report back how it goes. Nick
... View more
11-28-2016
05:32 PM
|
0
|
0
|
2834
|
|
POST
|
Hi, Since IOS 10 user-scalable=no no longer works in the viewport meta tag. This obviously breaks maps as pinch zooming zooms the whole page, not just the map. I couldn't find any workarounds - does anyone have any? Thanks, Nick
... View more
10-18-2016
08:49 PM
|
0
|
3
|
10085
|
|
POST
|
Hi, The examples given for detecting webgl in the browser aren't working on newer devices (possibly older ones too, but I haven't tested on them). I've tried on an iPad running IOS 10.0.2, and a Galaxy S6 using Chrome 53.0.xxx. It appears the devices do support webgl in some sense, but SceneView's don't render correctly. The otherwise() callback is not hit, instead then() is as per normal. This sample page will load up the scene view but only display a dark sphere for the earth - Detect WebGL support - 4.1 Cheekily on the description pages for the samples this user agent check is actually used to test if the iframe containing the live sample with a scene view should be loaded. /Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent) So you get the unsupported message on those pages correctly as in here. Detect WebGL support | ArcGIS API for JavaScript 4.1 I personally don't mind relying on the user agent check - but is this something that needs to be done for the moment and if so will it be addressed in a future release? An update to the samples documentation might be in order though. Thanks, Nick
... View more
10-18-2016
08:26 PM
|
1
|
1
|
1473
|
|
POST
|
Hi all, Does anyone have an update on this...as in is it expected to be fixed in v4.1? I had another look trying to get it working and have some more info. Using a FeatureLayer and adding graphics client side behaves the same. SceneView's also have a similar problem, they display the graphics that cross over the IDL but will only display graphics on one side of it. So if the viewport is basically centered on it, you'll see graphics from either east of west of it, but never both at the same time. Thanks, Nick
... View more
08-01-2016
08:03 PM
|
0
|
1
|
1215
|
|
POST
|
Hi Guys, I'm sure you're aware of this - but asking anyway. Have an issue continuously panning the x axis on a map view. If I add a graphic to a graphics layer then pan all the way around the world back to the position where the graphic should be, it's no longer displayed. Also if I place one graphic on one side of the international date line and then another on the other side, one of the graphics doesn't appear when it should until I pan all the way around the globe to the where it then appears and the other one doesn't. See this plunkr for a demo: https://plnkr.co/edit/UDzCuPSgQWZEze8IWfTI?p=preview Also calling normalize() on an extent isn't working as expected - I know it's not in the official api, but there is a public method on the object still - guessing this is also related. SceneView appears to be fine. Thanks, Nick
... View more
06-27-2016
11:45 PM
|
0
|
2
|
3199
|
|
POST
|
Ok great - thanks Johannes, have just been using the included gl-matrix library so far, so hopefully can avoid adding another dependency as well.
... View more
06-15-2016
02:51 PM
|
0
|
1
|
1002
|
|
POST
|
Hi, Did you roll your own webgl libraries from scratch or did you base it on an existing framework? If based on a framework, which one? The context of this question is that I'm looking at adding some custom functionality in an externalRenderer, would prefer to use a framework already in use rather than introduce a new one if possible. Thanks, Nick
... View more
06-05-2016
03:49 PM
|
0
|
3
|
17021
|
|
POST
|
Is there any way to rotate or set the angle of a PointSymbol3D object, like you can do for a SimpleMarkerSymobl?
... View more
05-22-2016
03:22 PM
|
0
|
2
|
3133
|
|
POST
|
Hi Ladislov, Sorry I've only just noticed that your message existed. If you check out the github page and the example in the link provided, the index.html page will give you an example of how to use it. If by AGS you mean a feature layer from ArcGIS server, then it won't work directly with the layer, you'd have to query the feature layer then format the returned data into an array of javascript objects to feed to the cluster layer. I've never had the use case to use a feature layer as a data source so never bothered to implement it. Thanks, Nick
... View more
01-28-2016
09:24 PM
|
0
|
0
|
1688
|
|
POST
|
Hi Mikhel, Have updated the github repo. It should be working ok now. Just refactored to use standard SimpleMarkerSymbols for the directional symbols with custom paths. Alternatively you can pass in you're own SimpleMarkerSymbol or PictureMarkerSymbol as part of the constructor options. Had to override some toJson methods to keep the print task happy as well. Thanks, Nick
... View more
01-13-2016
07:11 PM
|
1
|
0
|
1287
|
|
POST
|
Hi Mihkel, I never tested it with the print widget...I'm not surprised it doesn't work actually. Will take a look, it's something I may need soon as well - won't be able to for a couple of weeks though unfortunately. If you raise an issue on the github page describing the problem, that would be helpful...mainly as a reminder to take a look :). Thanks, Nick
... View more
12-27-2015
02:58 PM
|
0
|
0
|
1287
|
|
POST
|
No worries, thanks Kristian. Figured it wouldn't be available until after final release. Good work on 4.0 so far as well...am liking the improvements! Thanks, Nick
... View more
10-17-2015
02:46 AM
|
0
|
0
|
916
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-24-2017 07:26 PM | |
| 1 | 09-21-2017 09:25 PM | |
| 1 | 01-13-2016 07:11 PM | |
| 1 | 06-10-2015 06:23 AM | |
| 1 | 10-25-2018 06:03 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|