Index: trunk/extensions/SemanticGoogleMaps/SGM_QueryPrinter.php |
— | — | @@ -162,7 +162,7 @@ |
163 | 163 | } else { |
164 | 164 | // GLatLng class expects only numbers, no |
165 | 165 | // letters or degree symbols |
166 | | - list($center_lat, $center_lon) = sgmGetLatLon($center); |
| 166 | + list($center_lat, $center_lon) = SGMUtils::getLatLon($center); |
167 | 167 | } |
168 | 168 | $map_text .= " map.setCenter(new GLatLng($center_lat, $center_lon), $zoom);\n"; |
169 | 169 | } |