Pinpoint location with CI on Google Maps |
[eluser]veledrom[/eluser]
Hi, Is there any specific library or helper to generate an URL that I can also attach latitude and longitude to it and open Google Maps in another page to see the location? Thanks
[eluser]boltsabre[/eluser]
Wouldn't you just code an html anchor tag with a target="_blank" attribute and the lat and long attached as $_GET parameters? Then on the target page you'd extract the lat and long via javascript and just build your google map like normal. Or do you mean open the actual google page (ie, www.maps.google.com)?
[eluser]BIOSTALL[/eluser]
Hi veledrom, Not sure if it's of any use but I've got a library that embeds a google map into a page with just a few lines of code. You can download it, view documentation and see demos at the link below: http://biostall.com/demos/google-maps-v3...r-library/ Hope that helps somewhat, Thanks, BIO
[eluser]veledrom[/eluser]
Hi BIOSTALL, Would you show me where I have to do changes in order not to do full zoom because map my nose is toughing the gound? 50% is enough for me. Also what is the difference between yours and this one : http://codeigniter.com/wiki/Google_Maps_API_V3_Library Thanks Code: class Map extends CI_Controller {
[eluser]veledrom[/eluser]
OK. I decided to use http://codeigniter.com/wiki/Google_Maps_API_V3_Library which is excellent work. |
Welcome Guest, Not a member yet? Register Sign In |