Welcome Guest, Not a member yet? Register   Sign In
google maps position problem
#6

[eluser]mattylux[/eluser]
this is my controller

Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Mappa extends CI_Controller {


public function index()
                
{
$this->load->library('googlemaps');

$config['center'] = '44.339963, 11.292732';
$config['zoom'] = 12;
$config['map_height'] = "350px";
$config['map_width'] = "660px";
$config['sensor'] = FALSE;
$this->googlemaps->initialize($config);



$circle = array();
$circle['center'] = '44.339963, 11.292732';
$circle['radius'] = '100';
$this->googlemaps->add_circle($circle);


$data['map'] = $this->googlemaps->create_map();


I want to do and put in the middle of the page map


Messages In This Thread
google maps position problem - by El Forum - 07-23-2012, 07:33 AM
google maps position problem - by El Forum - 07-23-2012, 07:57 AM
google maps position problem - by El Forum - 07-23-2012, 08:21 AM
google maps position problem - by El Forum - 07-23-2012, 08:34 AM
google maps position problem - by El Forum - 07-23-2012, 08:39 AM
google maps position problem - by El Forum - 07-23-2012, 08:39 AM
google maps position problem - by El Forum - 07-23-2012, 08:50 AM
google maps position problem - by El Forum - 07-23-2012, 08:57 AM
google maps position problem - by El Forum - 07-23-2012, 09:51 AM
google maps position problem - by El Forum - 07-24-2012, 05:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB