Welcome Guest, Not a member yet? Register   Sign In
CI Google Maps Library - Markers doesn´t work ```BIOSTALL`
#1

[eluser]Tilt[/eluser]
Hello there.

I am having a problem with setting markers on google maps. I have an app in wich i managed to insert a map, but even following documentation of a library - some of you must know it - i cannot show a marker.

This is the page with the library: http://biostall.com/codeigniter-google-m...pi-library. I aprecciate the help, a lot. I ask here becouse this seems a popular library.

This is the controller code:

Code:
$endereco = $dados['perfil']['rua'].",".$dados['perfil']['numero'].",".$dados['perfil']['cidade'].",".$dados['perfil']['cep'];
  $config['center'] = $endereco;
  $config['zoom'] = '15';
  $config['region'] = 'brazil';
  $config['places'] = TRUE;
  $this->googlemaps->initialize($config);

  $marker = array();
  $marker['position'] = $endereco;
  $this->googlemaps->add_marker($marker);
  $dados['map'] = $this->googlemaps->create_map();


Messages In This Thread
CI Google Maps Library - Markers doesn´t work ```BIOSTALL` - by El Forum - 09-13-2012, 06:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB