JS API
Map Object
QueryEngine Object
Layer Object
Feature Object
Query Object
GeoJson Function Library (Experimental)

refresh

Updates the map, by reloading all the visible layers using the current map bounds. This could be done, for example, if you changed some underlying data in your database.

Parameters

No parameters.

Example

var map = new Mapzania.Map("map-div", "WORLD");
// Code that changes underlying data
map.refresh();