Dear Community members,
Using the sharemaps plugin cause the JavaScript Error:
sharemaps_gmaps_js.js:22 Uncaught Google Maps API is required. Please register the following JavaScript library http://maps.google.com/maps/api/js?sensor=true.
Tried to use diffent API_KEY, and also without Google KEY - nothing helps.
Please any suggestions?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- just4fun@Andrey
just4fun - 0 likes
Uncaught ReferenceError: GMaps is not defined at HTMLDocument.<anonymous> (drawonmaps.js:54) at i (jquery.js:2) at Object.add [as done] (jquery.js:2) at n.fn.init.n.fn.ready (jquery.js:2) at drawonmaps.js:47 at Object.execCb (require.js:1696) at Module.check (require.js:883) at Module.<anonymous> (require.js:1139) at require.js:134 at require.js:1189
- iionly@iionly
iionly - 0 likes
- just4fun@Andrey
just4fun - 0 likes
<author>Nikos Lyberakis</author> <version>2.11.1</version> P.S. Should I change the Subject ?
- nikos@nlyberakis
nikos - 0 likes
- just4fun@Andrey
just4fun - 0 likes
You must log in to post replies.And also the error in drawonmaps.js:54
I don't think version 1.9 is the latest available version. At https://elgg.org/plugins/1086612 the latest version listed is 1.12.9.1. But it is also recommended for up to Elgg 1.12 only, so it probably doesn't work on Elgg 2.x.
It seems a newer version is available at https://github.com/nlybe/Elgg-Sharemaps that is supposed to be compatible with Elgg 2.1 (and should also work on Elgg 2.3 then). You might want to give it a try. As I never used the plugin myself I can't say if it works though.
Thanks for the answer!
Sorry for mistake - have a last version from GinHub already.
@just4fun: for Elgg 2.x you should use only the 2.11.1, which works fine if want to upload maps (kml or gpx file). But the functionality for creating maps online is not completed yet, that's why you probably get these errors. But you can disable this on settings if the rest functionality cover you.
@nikos: Thanks for the great plugin!
Pitty to know this:
It's work some time as expected - and give the possibility to create the map and it seems like the problem with dependecy library.
This map was created using the plugin - this is preview mode: Link in Google Drive