0
Personal I am using the following library to work with maps: http://biostall.com/codeigniter-google-maps-v3-api-library/ .
Here is the tutorial of the same: http://biostall.com/demos/google-maps-v3-api-codeigniter-library/mapclick .
I’d like when I click on the map not to climb one alert
, but the data were for 2 inputs. To increase the alert
the following command is used:
$config['onclick'] = 'alert(\'You just clicked at: \' + event.latLng.lat() + \', \' + event.latLng.lng());';
But I do not know much javascript and I have no idea how to pass the value to the 2 inputs, I appreciate who can help me.