Difference between revisions of "Linden Lab Official:Map API Reference"

From Second Life Wiki
Jump to navigation Jump to search
Line 4: Line 4:
=== Constructor ===
=== Constructor ===


{{API Constructor|<nowiki>
{{API Constructor|  
SLMap (HTMLElement container,  
SLMap (
      SLMapOptions options)
HTMLElement container,  
</nowiki>}}
SLMapOptions options )  
}}


Creates the map. The SLMapOptions argument is optional.
Creates the map. The SLMapOptions argument is optional.

Revision as of 11:24, 22 January 2009

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.