Difference between revisions of "Linden Lab Official:Map API Reference"
Jump to navigation
Jump to search
Rand Linden (talk | contribs) |
Rand Linden (talk | contribs) |
||
Line 4: | Line 4: | ||
=== Constructor === | === Constructor === | ||
{{API Constructor| | {{API Constructor| | ||
SLMap (HTMLElement container, | SLMap ( | ||
HTMLElement container, | |||
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. |