Linden Lab Official:Map API Reference

From Second Life Wiki
Revision as of 18:31, 21 January 2009 by 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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.