Replies: 2 comments 5 replies
-
It should be feasible but will probably involve lots of work. How to use custom js/css is supported by Mesa as documented in its advanced tutorial. Basically this is how Mesa-Geo organizes its frontend with Leaflet.js. There is a Another option is with Mesa's recent changes for Jupyter notebook support using Solara. I had a small demo on how to possibly use it for Mesa-Geo: https://github.com/wang-boyu/mesa-examples/blob/gis%2Fsolara-frontend/gis/geo_schelling_points/app.ipynb. However, this is purely python. Maybe it's possible to develop a customer Solara component using ArcGis js, and then use it in similar ways as in the simple demo. But this is something that I am not very familiar with. |
Beta Was this translation helpful? Give feedback.
-
Just an update: I ended using a Webscoket+StreamLayer. Websocket to send the positions of all agents to the streamLayer which was over my private arcgis map. Thank you. |
Beta Was this translation helpful? Give feedback.
-
I'm working on a project where the maps I need are created and published in ArcGIS. I was wondering if anyone has worked on moving the code base from LeafletJS to ArcGIS JS. Is this even feasible? Alternatively, can I use LeafletJS to load private ArcGIS resources?
I've tried moving the code base but I get these errors and a blank map:
404 GET /local/MapModule/external/arcgis.js/esri/views/MapView.js (127.0.0.1) 1.09ms
404 GET /local/MapModule/external/arcgis.js/esri/layers/GeoJSONLayer.js (127.0.0.1) 0.92ms
404 GET /local/MapModule/external/arcgis.js/esri/layers/TileLayer.js (127.0.0.1) 1.40ms
404 GET /local/MapModule/external/arcgis.js/esri/layers/WMSLayer.js (127.0.0.1) 0.69ms
The arcgis.js file is copied from https://js.arcgis.com/4.28/ (Is there a way to include js&css files as links directly without having to resort to copy and paste?)
Beta Was this translation helpful? Give feedback.
All reactions