Index: branches/SemanticMaps0.8/SM_Settings.php |
— | — | @@ -70,8 +70,6 @@ |
71 | 71 | |
72 | 72 | $smgFIFieldSize = 40; |
73 | 73 | |
74 | | - $smgFiGeoNamesUser = ''; |
75 | | - |
76 | 74 | # Integer or string. The default width and height of maps in forms created by using Semantic Forms. |
77 | 75 | # These values only be used when the user does not provide them. |
78 | 76 | $smgFIWidth = 665; |
Index: branches/SemanticMaps0.8/includes/services/OpenLayers/SM_OpenLayersFormInput.php |
— | — | @@ -32,9 +32,9 @@ |
33 | 33 | * @return mixed |
34 | 34 | */ |
35 | 35 | protected function getJSONObject( array $params, Parser $parser ) { |
36 | | - global $smgFiGeoNamesUser; |
| 36 | + global $egMapsGeoNamesUser; |
37 | 37 | |
38 | | - $params['geonamesusername'] = $smgFiGeoNamesUser; |
| 38 | + $params['geonamesusername'] = $egMapsGeoNamesUser; |
39 | 39 | |
40 | 40 | return $params; |
41 | 41 | } |
Index: branches/SemanticMaps0.8/includes/services/OpenLayers/jquery.openlayersinput.js |
— | — | @@ -130,7 +130,7 @@ |
131 | 131 | { |
132 | 132 | 'q': address, |
133 | 133 | 'username': options.geonamesusername, |
134 | | - 'formatted': 'true', |
| 134 | + //'formatted': 'true', |
135 | 135 | 'maxRows': 1 |
136 | 136 | }, |
137 | 137 | function( data ) { |