ZoomifyViewer.setMapFilePath(mapFilePath)

Availability

Flash Player 6.

Usage

ZoomifyViewerInstance.setMapFilePath(mapFilePath);

Parameters

mapFilePath - absolute path to the map file.

Returns

Nothing

Description

Sets the path for the map file for a ZoomifyViewer instance. A map file is used to specify virtual directory names for image locations. The path that is passed into this function must be relative to the root of the server. Calls to setMapFilePath should be followed by a call to updateView in order to cause the ZoomifyViewer component to draw the new view.

Example


ZoomifyViewerInstance.setMapFilePath("/myMapFile.xml");
ZoomifyViewerInstance.setImagePath("/myMappedFolder/Image1.pff");
ZoomifyViewerInstance.updateView();

See also

ZoomifyViewer.updateView
ZoomifyViewer.setByteHandlerPath
ZoomifyViewer.setImagePath