New Creating Simulations Amongst Leaflet Maps


AgentMaps is a novel LeafletJS plug-in that allows y'all to practise animated social simulations on an interactive map. These social simulations tin accept the course of written report of mistaken neighborhood commuting patterns, the spread of an epidemic inwards a town, traffic menstruation to a greater extent than or less an intersection or anything else that requires modelling the menstruation of agents to a greater extent than or less a place on a map.

AgentMaps allows y'all to construct together with visualize dynamic social systems on top of a Leaflet map. For illustration this demo of AgentMaps simulates the spread of an epidemic to a greater extent than or less a neighborhood equally the residents movement to a greater extent than or less together with interact. Given a defined place (which tin hold upwardly 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 alter the appearance together with properties of the agents. Here is another demo which shows the dissimilar ways agents tin movement to a greater extent than or less a Leaflet map.

In gild for the agents to hold upwardly able to navigate a neighborhood the neighborhood streets stimulate got to hold upwardly defined inwards AgentMaps. The information for the streets thence needs to hold upwardly defined inwards a GeoJSON file. The AgentMaps documentation shows y'all how y'all tin practise this GeoJSON information alongside the Overpass API or using the OpenStreetMap spider web interface.
Buat lebih berguna, kongsi:
close