Index: trunk/extensions/SemanticMaps/SemanticMaps.php |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | die( 'Not an entry point.' ); |
25 | 25 | } |
26 | 26 | |
27 | | -define('SM_VERSION', '0.4.2 rc2'); |
| 27 | +define('SM_VERSION', '0.5 a1'); |
28 | 28 | |
29 | 29 | $smgScriptPath = $wgScriptPath . '/extensions/SemanticMaps'; |
30 | 30 | $smgIP = $IP . '/extensions/SemanticMaps'; |
Index: trunk/extensions/SemanticMaps/GoogleMaps/SM_GoogleMapsQP.php |
— | — | @@ -55,10 +55,8 @@ |
56 | 56 | */ |
57 | 57 | protected function addSpecificMapHTML() { |
58 | 58 | global $wgJsMimeType; |
59 | | - |
60 | | - $enableEarth = MapsGoogleMapsUtils::getEarthValue($this->earth); |
61 | 59 | |
62 | | - // Get the Google Maps names for the control and map types |
| 60 | + // Get the Google Maps names for the control and map types. |
63 | 61 | $this->type = MapsGoogleMapsUtils::getGMapType($this->type, true); |
64 | 62 | |
65 | 63 | $this->controls = MapsGoogleMapsUtils::createControlsString($this->controls); |
— | — | @@ -83,7 +81,7 @@ |
84 | 82 | |
85 | 83 | $this->types = explode(",", $this->types); |
86 | 84 | |
87 | | - $typesString = MapsGoogleMapsUtils::createTypesString($this->types, $enableEarth); |
| 85 | + $typesString = MapsGoogleMapsUtils::createTypesString($this->types); |
88 | 86 | |
89 | 87 | $this->output .= <<<END |
90 | 88 | <div id="$this->mapName" class="$this->class" style="$this->style" ></div> |
Index: trunk/extensions/SemanticMaps/GoogleMaps/SM_GoogleMapsFormInput.php |
— | — | @@ -73,8 +73,6 @@ |
74 | 74 | protected function addSpecificMapHTML() { |
75 | 75 | global $wgJsMimeType; |
76 | 76 | |
77 | | - $enableEarth = MapsGoogleMapsUtils::getEarthValue($this->earth); |
78 | | - |
79 | 77 | $this->autozoom = MapsGoogleMapsUtils::getAutozoomJSValue($this->autozoom); |
80 | 78 | |
81 | 79 | $this->type = MapsGoogleMapsUtils::getGMapType($this->type, true); |
— | — | @@ -88,7 +86,7 @@ |
89 | 87 | |
90 | 88 | $this->types = explode(",", $this->types); |
91 | 89 | |
92 | | - $typesString = MapsGoogleMapsUtils::createTypesString($this->types, $enableEarth); |
| 90 | + $typesString = MapsGoogleMapsUtils::createTypesString($this->types); |
93 | 91 | |
94 | 92 | $this->output .= " |
95 | 93 | <div id='".$this->mapName."' class='".$this->class."'></div> |