Skip to content

Commit

Permalink
Update config/gmap.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sunchaser committed Jan 24, 2012
1 parent 65b2ba1 commit b3b11cb
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions config/gmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,59 +2,59 @@

// Don't delete or rename any keys unless you know what you're doing!

return array (
// Default map-center.
'default_lat' => 51.1731,
'default_lng' => 6.8328,
$config['default_lat'] = 51.1731;


$config['default_lng'] = 6.8328;

// Default zoom-level.
'default_zoom' => 12,
$config['default_zoom'] = 12;

// Default "sensor" setting - Used for mobile devices.
'default_sensor' => FALSE,
$config['default_sensor'] = FALSE;

// Default map-type.
'default_maptype' => 'road',
$config['default_maptype'] = 'road';

// The instance will be set in the render method to a random string (if this value is empty).
'instance' => '',
$config['instance'] = '';

// Default view-options.
'default_view' => 'gmap',
'default_gmap_size_x' => '100%',
'default_gmap_size_y' => '100%',
$config['default_view'] = 'gmap';
$config['default_gmap_size_x'] = '100%';
$config['default_gmap_size_y'] = '100%';

// Default Google Maps controls.
'default_gmap_controls' => array(
'maptype' => array(
'display' => TRUE,
'style' => 'default',
'position' => NULL,
$config['default_gmap_controls'] = array(
'maptype' => array(
'display' => TRUE,
'style' => 'default',
'position' => NULL,
),
'navigation' => array(
'display' => TRUE,
'style' => 'default',
'position' => NULL,
'navigation' => array(
'display' => TRUE,
'style' => 'default',
'position' => NULL,
),
'scale' => array(
'display' => TRUE,
'position' => NULL,
'scale' => array(
'display' => TRUE,
'position' => NULL,
),
),
);

// Default options for polylines.
'default_polyline_options' => array(
'strokeColor' => '#000',
'strokeOpacity' => 1,
'strokeWeight' => 3,
),
$config['default_polyline_options'] = array(
'strokeColor' => '#000',
'strokeOpacity' => 1,
'strokeWeight' => 3,
);

// Default options for polygons.
'default_polygon_options' => array(
'strokeColor' => '#000',
'strokeOpacity' => 1,
'strokeWeight' => 3,
'fillColor' => '#000',
'fillOpacity' => .5,
),
);
$config['default_polygon_options'] = array(
'strokeColor' => '#000',
'strokeOpacity' => 1,
'strokeWeight' => 3,
'fillColor' => '#000',
'fillOpacity' >= .5,
);

0 comments on commit b3b11cb

Please sign in to comment.