Widget HTML Atas

Creating Simulations Amongst Leaflet Maps


AgentMaps is a novel LeafletJS plug-in that allows y'all to practice animated social simulations on an interactive map. These social simulations tin accept the degree of imitation neighborhood commuting patterns, the spread of an epidemic inwards a town, traffic catamenia some an intersection or anything else that requires modelling the catamenia of agents some a place on a map.

AgentMaps allows y'all to cook together with visualize dynamic social systems on top of a Leaflet map. For representative this demo of AgentMaps simulates the spread of an epidemic some a neighborhood every bit the residents movement some together with interact. Given a defined place (which tin endure anywhere inwards the world) AgentMaps tin add together dynamic units or agents to the map, schedule the units to movement betwixt dissimilar locations together with modify the appearance together with properties of the agents. Here is another demo which shows the dissimilar ways agents tin movement some a Leaflet map.

In firm for the agents to endure able to navigate a neighborhood the neighborhood streets conduct keep to endure defined inwards AgentMaps. The information for the streets hence needs to endure defined inwards a GeoJSON file. The AgentMaps documentation shows y'all how y'all tin practice this GeoJSON information amongst the Overpass API or using the OpenStreetMap spider web interface.