Posted on: 01/22/16 09:41am
By: ::Ben
Maps plugin allow you to create and display google maps on a powered geeklog site. A map will be added to the profile user if user's location is set. You can create a map on the fly with just one autotag.
- [new] function to display selected markers
- [new] Online config to display or not map on event pages (calendar plugin)
- [new] Maps can use a default icon for markers
- [new] New autotag and function to display selected markers
- [new] Ability to use autotags in markers descriptions and ressources
- [fix] use mb_substr instead of substr for multi bytes language
Download Maps 1.4.0[*1]
Re: Maps plugin 1.4.0 is available
Posted on: 01/23/16 11:56am
By: syco
Hello!
To make it work on a https enabled site, i had to change lines 81
PHP Formatted Code
$js = '<script src= "https://maps.googleapis.com/maps/api/js?key=' . $_MAPS_CONF['google_api_key'] . '&libraries=adsense&sensor=false" type="text/javascript"> </script>';
and 757
PHP Formatted Code
$c->set('url_geocode', 'https://maps.googleapis.com/maps/api/geocode/json?address=%address%&sensor=false', $_MAPS_DEFAULT['pi_name']);
of the plugin's function.php file (basically just make them use https instead of http).
I have another problem: i can't get a map to center and zoom on a location (address) by default when i create one. Maybe i'm missing something
Re: Maps plugin 1.4.0 is available
Posted on: 01/23/16 02:52pm
By: ::Ben
Hello Syco,
Thanks for the report. You can ad bug or feature request on
https://github.com/Geeklog-Plugins/maps/issues[*2]
For centering of a map I can't reproduce the issue. Creating a map admin/plugins/maps/map_edit.php ask 2 params. A Map Name and a Address.
Can you check the plugin config /admin/configuration.php and tell me if under maps setting the URL to Google Geocoding Service is set to http://maps.googleapis.com/maps/api/geocode/json?address=%address%&sensor=false
Re: Maps plugin 1.4.0 is available
Posted on: 01/27/16 09:26am
By: syco
hello
My "URL to Google Geocoding Service" was actually incorrect. It seems to work more or less now (i'm still @100km from the supposed address but i suppose that's google).
I added the bug for https to github as well as another small one too.
Still trying to figure out why i can't get site users map to work

location is set in user's profile (as i would enter it on google maps) but no markers show up on the map.