diff --git a/geofield.openlayers.inc b/geofield.openlayers.inc index b1090a7..12ceaac 100644 --- a/geofield.openlayers.inc +++ b/geofield.openlayers.inc @@ -77,8 +77,8 @@ function geofield_openlayers_maps() { 'geofield_formatter' => 0, 'openlayers_geojson_picture_this' => 0, ), - 'projection' => '900913', - 'displayProjection' => '4326', + 'projection' => 'EPSG:900913', + 'displayProjection' => 'EPSG:4326', 'styles' => array( 'default' => 'default', 'select' => 'default', @@ -153,8 +153,8 @@ function geofield_openlayers_maps() { 'geofield_formatter' => 0, 'openlayers_geojson_picture_this' => 0, ), - 'projection' => '900913', - 'displayProjection' => '4326', + 'projection' => 'EPSG:900913', + 'displayProjection' => 'EPSG:4326', 'styles' => array( 'default' => 'default', 'select' => 'default', @@ -200,7 +200,7 @@ function geofield_openlayers_layers() { $layer->description = ''; $layer->data = array( 'layer_type' => 'openlayers_layer_type_raw', - 'projection' => array('900913'), + 'projection' => array('EPSG:900913'), 'features' => array() ); $layers[$layer->name] = $layer;