POST
|
I have a map with custom markers made of png image with a reference to that png on the web. (https://mrcbm.qc.ca/diffusion/460/activites_hiver/img/Zoo.png) The map is to be displayed in the New version of Story map The custom Markers are not displayed in the Story map but they are OK in the arcGIS map viewer. Story map only displays classic icons native from arcGIs Online. Is there a work around for that (pretty basic...) situation? Just can't believe that it is not possible... Here's link to my web map: https://arcg.is/1TX9Ob Here's a capture of what is shown in story map: (mountains are native icon from arcGIS online, black dot are supposed to be something else..)
... View more
01-10-2020
11:20 AM
|
0
|
3
|
1825
|
POST
|
Here's the youttube link to the video in case it didn't work... https://www.youtube.com/watch?v=khgbjFG7_rs&feature=youtu.be
... View more
09-02-2019
02:17 PM
|
0
|
0
|
1008
|
POST
|
Hi Lance Cole, thanks for the advises, all of those parameters are being taken care of..(arcpy.env.workspace etc..) I uploaded a short video to show you what is going on...I actually never experienced something like that before, I've done many python toolbox before, but this is the first one that does this kind of behavior. Maybe it's because my main ascript imports many external modules? If I run my script from from pyscripter it works just fine and the FeatureClass created doesn't disappear. Thanks for your help but I dont see anything that could fix this, I'm gonna work on a turn-around for this situation. Like running a 2nd tool that saves the mxd of something like that... Regards
... View more
09-02-2019
02:14 PM
|
0
|
1
|
1008
|
POST
|
Anybody have ever ran into something like that& When I run my custom python toolbox, the feature class created in output is not permanent. 1. The toolbox contains a few import from custom modules, classes etc.... 2. The toolbox work perfectly, no error displayed (try, Catch Error etc..) So here's what's happening: - I can see the Feature Class that I just created in the output File Geodatabase (ex: in arcCatalog) and it's also added a layer in the TOC and I can do whatever I want with it (ex: export, run it another toolbox etc...) - It also has a valid source But: - if a quit arcGIS, it won't be there anymore when re-open - if a save the mxd (hit the save button) it will still be there - if I save the mxd using arpy.mapping it doesn't stay So at the end The Feature class is deleted - gone forever if I don't save the mxd with the "save button" Strange isn't it?
... View more
08-30-2019
10:16 PM
|
0
|
3
|
1109
|
POST
|
Thanks for the advise Xander, it works perfectly with the new 2.12 WebAPPbuilder for developper. It was definetly a Version problem. Cheers!
... View more
05-09-2019
07:30 AM
|
1
|
0
|
1713
|
POST
|
Hi Xander, So I'm testing using the webAPP that is within AGOL....and it looks like it's working. Else, when this problem happened I was using arcgis-web-appbuilder-2.4 ...So I figure I should update this application since we are on V2.12 now. Can you make it work with a new version of WAB for developper? Thanks!
... View more
05-09-2019
06:21 AM
|
0
|
2
|
1713
|
POST
|
Hi Xander, Here's the code I'm using to construct the link...you actually posted that I made a video capture to get all the context. So I' m using WebAPP Builder for Developper to construct the app locally and then I deploy it on my server. So, when I'm working locally on my computer, the link created is actually pointing on localhost instead of pointing to googleMap, Then when I upload the app on the server it points to the root of the app (where the index.html file is located). You will see that in the video. I've done link creation before but I would do it directly from the shapefile (with a field calculation) and then upload the shapefile in AGOL. and this works perfectly. Meanwhile I will try to create the app direct in the webAPP buildder within AGOL. Thanks for your help Cheers //----------------- function MetersToLatLon(mx, my) { // Converts XY point from Spherical Mercator EPSG:900913 to lat/lon in WGS84 Datum // Fuente: http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/ var originShift = 2.0 * PI * 6378137.0 / 2.0; var lon = (mx / originShift) * 180.0; var lat = (my / originShift) * 180.0; lat = 180.0 / PI * (2.0 * Atan( Exp( lat * PI / 180.0)) - PI / 2.0); return [lat, lon]; } var poly = Geometry($feature); var result = ""; if (!IsEmpty(poly)) { var pnt_centr = Centroid(poly); var latlon = MetersToLatLon(pnt_centr.x, pnt_centr.y); result = "https://www.google.ca/maps/dir//" + Round(latlon[0], 6) + ", " + Round(latlon[1], 6); } else { result = ""; } return result; //-----------------
... View more
05-09-2019
05:46 AM
|
0
|
1
|
1713
|
POST
|
Hi everyone, I've wrote an expression with arcade in agol. The expression is a link to GoogleMap. So when you click on a feature it redirects you to a GoogleMap link with lat & lng issued from the geometry. Here's the issue: when I deploy the application with WAB the expression no longer works and just displays the name: No link From WAB: OK Link in arcGIS online:
... View more
05-07-2019
02:06 PM
|
0
|
6
|
2105
|
Title | Kudos | Posted |
---|---|---|
1 | 05-09-2019 07:30 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|