Linden Lab Official:Map API Reference

From Second Life Wiki
Jump to navigation Jump to search

SLMap

This class represents the map.

Constructor

Constructor

SLMap ( HTMLElement container, SLMapOptions options )

Creates the map. The SLMapOptions argument is optional.

Methods

Method Return Value Description

centerAndZoomAtSLCoord(   XYPoint coordinate,   int zoom)

None

Centers and zooms the map to the specified location.