Hello,
I've some trouble to display a google map with seb_map template.
I've
created a form and content type with a longitude field (text), a
latitude field (text) and a geocode field (address to coordinate set to
concatenate).
Address to coordinate plugin seems to work correctly because longitude and latitude fields are populated after saving the form.
Then,
I've created a list from my previously described content type, assign
seb_map template, set the template parameter Mode to Coordinates and
assigned longitude an latitude fields in their respective positions.
I've assingned 2 text fields In Infowindow position.
When trying to display the map, the first probleme was an error saying that I need an API KEY.
So
I've struggled a bit with the Google developper site to create one and
after added the following code before my </body> tag, I could
display the map:
<script src="https://maps.googleapis.com/maps/api/js?key=api_key" type="text/javascript"></script>
I'm not sure I've done it right: in Seblod demo site It seems that their is no code like the previous one.
Now I'm facing the following problem: when clicking on a marker, no popup is displayed.
In the Firefox consol there is an error message:
InvalidValueError: setPosition: not a LatLng or LatLngLiteral: in property lat: not a number
_.ab() js:32
_.wb() js:36
_.sc/<() js:47
_.r.set() js:95
_.r.internalAnchorPosition_changed() js:110
qb() js:34
_.C.prototype.bindTo() js:96
Be() js:68
_.r.internalAnchor_changed() js:109
qb() js:34
qb() js:34
_.r.set() js:95
_.Ce.prototype.open() js:111
JCck.More.SebMap.setMarker/<() centres:77
_.B.trigger() js:93
G_.prototype.handleEvent() marker.js:49
_.Gf.prototype.Zd<() common.js:177
_.r.Oe() common.js:230
_.r.Dj() common.js:229
_.B.trigger() js:93
_.uw/</<() common.js:124
_.B.trigger() js:93
_.r.Rj() common.js:196
hb/<()
My config:
Joomla 3.5.1
Seblod 3.8.1
address to coordinate plugin and seb_map template are the latest ones.
Thank you for your help.
Regards
Simon