Linden Lab Official:Map API Reference: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Rand Linden (talk | contribs)
New page: == SLMap == This class represents the map. === Constructor === <div style="font: 10pt courier; white-space: pre; color: black; background: #F9F9F9; border:solid 1px #AAAAAA; padding: 0 0...
 
Rand Linden (talk | contribs)
No edit summary
Line 13: Line 13:
=== Methods ===
=== Methods ===


{| {{Prettytable}}
{| border="2" cellspacing="0" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:90%; empty-cells:show; "
|- {{Hl2}}
|- bgcolor="#A7C1F2"
! Method
! Method
! Return Value
! Return Value

Revision as of 18:32, 21 January 2009

SLMap

This class represents the map.

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.