× Welcome to the Sysgen Media forum!

Tell us and our members who you are.
We welcome all new members and hope to see you around a lot!

Map Won't load

4 years 8 months ago - 4 years 8 months ago #3652 by samlf3rd
Map Won't load was created by samlf3rd
The map won't load, it is saying needs API Key? Where? How? And, the console says
JQMIGRATE: Migrate is installed, version 1.4.1
jquery.min.js:4 XHR finished loading: GET "http://etisbewym.com/index.php/en/?option=com_storelocator&view=map&format=raw&searchall=1&Itemid=992&catid=-1&tagid=-1&featstate=0".
send @ jquery.min.js:4
ajax @ jquery.min.js:4
searchViaRequest @ map.js:376
loadAllLocations @ map.js:138
locatorInit @ map.js:83
(anonymous) @ map.js:708
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
K @ jquery.min.js:2
js?v=3.28&key=:35 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
_.rb @ js?v=3.28&key=:35
(anonymous) @ common.js:50
(anonymous) @ common.js:189
c @ common.js:44
(anonymous) @ AuthenticationService.Authenticate?1shttp%3A%2F%2Fpagepoptesting3.com%2Findex.php%2Fen%2Fstore-locator&callback=_xdc_._70ngcr&token=35861:1
marker.js:28 Uncaught TypeError: Cannot read property 'fromLatLngToPoint' of undefined
    at PU (marker.js:28)
    at _.td.RU.b.b (marker.js:26)
    at Object._.ud (js?v=3.28&key=:57)
    at marker.js:30
    at js?v=3.28&key=:50
    at marker.js:30
    at marker.js:51
    at Gz.B (util.js:209)
    at util.js:210
    at util.js:214
PU @ marker.js:28
RU.b.b @ marker.js:26
_.ud @ js?v=3.28&key=:57
(anonymous) @ marker.js:30
(anonymous) @ js?v=3.28&key=:50
(anonymous) @ marker.js:30
(anonymous) @ marker.js:51
Gz.B @ util.js:209
(anonymous) @ util.js:210
(anonymous) @ util.js:214
(anonymous) @ util.js:211
(anonymous) @ js?v=3.28&key=:35
setTimeout (async)
_.ob @ js?v=3.28&key=:35
(anonymous) @ js?v=3.28&key=:35
(anonymous) @ util.js:8
Gz.B @ util.js:209
(anonymous) @ util.js:212
Xz.f @ util.js:213
util.js:222 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
JB.j @ util.js:222
(anonymous) @ js?v=3.28&key=:134
(anonymous) @ js?v=3.28&key=:53
(anonymous) @ js?v=3.28&key=:50
(anonymous) @ js?v=3.28&key=:53
(anonymous) @ js?v=3.28&key=:105
(anonymous) @ js?v=3.28&key=:50
(anonymous) @ js?v=3.28&key=:105
Sc @ js?v=3.28&key=:52
Rc.jb @ js?v=3.28&key=:105
(anonymous) @ stats.js:1
util.js:222 Google Maps API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version
JB.j @ util.js:222
(anonymous) @ js?v=3.28&key=:134
(anonymous) @ js?v=3.28&key=:53
(anonymous) @ js?v=3.28&key=:50
(anonymous) @ js?v=3.28&key=:53
(anonymous) @ js?v=3.28&key=:105
(anonymous) @ js?v=3.28&key=:50
(anonymous) @ js?v=3.28&key=:105
Sc @ js?v=3.28&key=:52
Rc.jb @ js?v=3.28&key=:105
(anonymous) @ stats.js:1
util.js:222 Google Maps API warning: InvalidKey https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key
Last edit: 4 years 8 months ago by samlf3rd.

Please Log in to join the conversation.

More
4 years 8 months ago #3653 by samlf3rd
Replied by samlf3rd on topic Map Won't load
I just added the script into the head...

Please Log in to join the conversation.

More
4 years 8 months ago #3658 by sysgenmedia
Replied by sysgenmedia on topic Map Won't load
Yes, you need to get an API key for Google Maps here: developers.google.com/maps/documentation/javascript/get-api-key

Then add the key into the component options.

Please Log in to join the conversation.

More