This repository was archived by the owner on Aug 7, 2023. It is now read-only.
2009-07-17 Flatmap Viewer version 0.7.4
This update:
- improves the display of background layers.
- shows a
progresscursor during edge and node queries. - standardises data sent by the message channel.
- provides a method,
getIdentifier(), to return an object to identify a map. - Besides a text string to identify a map,
loadMap()will also accept agetIdentifier()object. - provides a method,
getState(), to return an object containing a map's current state (its centre, zoom level, and active layers). - adds a
statefield to theoptionsparameter ofloadMap()to load a map and restore it to a previously saved state. - adds a
setState(state)method to restore a map to a previously saved state. - returns a
PromisefromloadMap()that is resolved when the map is loaded.