MapsBaseMap Class Reference

Inherits MapsMapFeature.

Inherited by MapsGoogleMaps, MapsOpenLayers, and MapsYahooMaps.

List of all members.

Public Member Functions

 displayMap (&$parser, $map)
 Handles the request from the parser hook by doing the work that's common for all mapping services, calling the specific methods and finally returning the resulting output.

Protected Attributes

 $markerData = array()

Private Member Functions

 setZoom ()
 Sets the zoom level to the provided value.
 setCoordinates ()
 Sets the $marler_lon and $marler_lat fields.
 setCentre ()
 Sets the $centre_lat and $centre_lon fields.
 doEscaping ()
 Ascapte the title and label.


Detailed Description

Definition at line 16 of file Maps_BaseMap.php.


Member Function Documentation

MapsBaseMap::displayMap ( &$  parser,
map 
) [final]

Handles the request from the parser hook by doing the work that's common for all mapping services, calling the specific methods and finally returning the resulting output.

Parameters:
unknown_type $parser
unknown_type $map
Returns:
unknown

Definition at line 31 of file Maps_BaseMap.php.

References MapsMapFeature::addSpecificMapHTML(), doEscaping(), MapsMapFeature::doMapServiceLoad(), MapsMapFeature::manageMapProperties(), setCentre(), setCoordinates(), MapsMapFeature::setMapName(), MapsMapFeature::setMapSettings(), and setZoom().

MapsBaseMap::setZoom (  )  [private]

Sets the zoom level to the provided value.

When no zoom is provided, set it to the default when there is only one location, or the best fitting soom when there are multiple locations.

Definition at line 59 of file Maps_BaseMap.php.

Referenced by displayMap().

MapsBaseMap::setCoordinates (  )  [private]

Sets the $marler_lon and $marler_lat fields.

Definition at line 74 of file Maps_BaseMap.php.

References $markerData, and MapsUtils::getLatLon().

Referenced by displayMap().

MapsBaseMap::setCentre (  )  [private]

Sets the $centre_lat and $centre_lon fields.

Note: this needs to be done AFTRE the maker coordinates are set.

Definition at line 102 of file Maps_BaseMap.php.

References $egMapsMapLat, $egMapsMapLon, and MapsUtils::getLatLon().

Referenced by displayMap().

MapsBaseMap::doEscaping (  )  [private]

Ascapte the title and label.

Definition at line 134 of file Maps_BaseMap.php.

Referenced by displayMap().


Member Data Documentation

MapsBaseMap::$markerData = array() [protected]


The documentation for this class was generated from the following file:

Generated on Sun Mar 18 07:15:42 2012 for Semantic MediaWiki by  doxygen 1.5.6