Discussion:
[Semediawiki-user] Maps set default coordinates and mapping service
grant amaral
2017-05-21 15:14:47 UTC
Permalink
How do I set the default coordinate system and mapping service for Maps?

tried this in LocalSettings: $egMapsDefaultService = 'googlemaps';

nothing.
Krabina Bernhard
2017-05-21 20:38:15 UTC
Permalink
Hi,
must be googlemaps3, not googlemaps:
https://github.com/JeroenDeDauw/Maps/blob/master/Maps_Settings.php#L15-L20

You can find the coordinate system settings here
https://github.com/JeroenDeDauw/Maps/blob/master/Maps_Settings.php#L101-L113

cheers,
Bernhard
Post by grant amaral
How do I set the default coordinate system and mapping service for Maps?
tried this in LocalSettings: $egMapsDefaultService = 'googlemaps';
nothing.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
[[kgh]]
2017-05-22 05:56:21 UTC
Permalink
Also note that you need to add an API-key provided by Google for
googlemaps3 to work.

$egMapsGMaps3ApiKey = 'MY_APIKEY';

Cheers Karsten
Post by Krabina Bernhard
Hi,
https://github.com/JeroenDeDauw/Maps/blob/master/Maps_Settings.php#L15-L20
You can find the coordinate system settings here
https://github.com/JeroenDeDauw/Maps/blob/master/Maps_Settings.php#L101-L113
cheers,
Bernhard
Post by grant amaral
How do I set the default coordinate system and mapping service for Maps?
tried this in LocalSettings: $egMapsDefaultService = 'googlemaps';
nothing.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-user mailing list
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Loading...