Forum
Welcome, Guest

google maps not showing markers - latlong id 14 15
(1 viewing) (1) Guest
Ask all your version 2.0 questions here.
  • Page:
  • 1

TOPIC: google maps not showing markers - latlong id 14 15

google maps not showing markers - latlong id 14 15 1 year, 11 months ago #1266

hi,

I read the manual. I am
getting a google map displayed with my custom centre location. But the markers are not showing.

It is on a local machine running windows 7.

I think it might be to do with the longitude / latitude position.

I can see the lat/longs in the vcard and category view.

They were

 
14 Longitude (field_longitude)
15 Latitude (field_latitude)
 


So I changed the position to

 
7 Longitude (field_longitude)
8 Latitude (field_latitude)
 


but the
field_longitude ID remains 14
field_latitude ID remains 15

Any advice is appreciated.

Please see attached png file.
jmaps_sobi_lat_long.png

jmaps_sobi_lat_long2.png


jmaps_sobi_lat_long3.png


cheers
Ed
Last Edit: 1 year, 11 months ago by juicyfruit. Reason: more info.

Re:google maps not showing markers - latlong id 14 15 1 year, 11 months ago #1267

  • nicholas
  • OFFLINE
  • Moderator
  • Developing for Joomla since it was born!
  • Posts: 1197
Hello Ed -

The position won't matter. What are the settings for Lat/Long on your individual entries that you are trying to map? Are they valid?
Nicholas
CIO - CorFun, Inc.
Publisher - orthodoxbiz.com
Webmaster - Orthodox Christian Network

Re:google maps not showing markers - latlong id 14 15 1 year, 11 months ago #1268

Hi Glen,

Thanks for getting back to me.

I am running wampserver on windows 7.

The directory path is :

D:\Program Files\wamp\www\<test1>\

Not sure if this path is causing any problems.


The lat/lons are valid, returned for the search.


1.
Longitude: 138.506607
Latitude: -34.856136

2.
Longitude: 138.502686
Latitude: -34.846058

3.
Longitude: 138.505997
Latitude: -34.871143

4.
Longitude: 138.504211
Latitude: -34.84391

Re:google maps not showing markers - latlong id 14 15 1 year, 11 months ago #1269

  • nicholas
  • OFFLINE
  • Moderator
  • Developing for Joomla since it was born!
  • Posts: 1197
Running on a local server like that, were you able to get a valid Google API key?
Nicholas
CIO - CorFun, Inc.
Publisher - orthodoxbiz.com
Webmaster - Orthodox Christian Network

Re:google maps not showing markers - latlong id 14 15 1 year, 11 months ago #1270

Hi Glen,

Thanks for getting back to me.

I put the code up on a live server with a limited data set.

Hopefully you can help me.

the site is

hotbeds.com.au

www.hotbeds.com.au/index.php?option=com_sobi2&catid=3&Itemid=

I don't have sobi search installed on that site but I just I can use the categories functionality.

I will pm you the

username

password

for the site.

thanks
Ed

Re:google maps not showing markers - latlong id 14 15 1 year, 11 months ago #1271

  • nicholas
  • OFFLINE
  • Moderator
  • Developing for Joomla since it was born!
  • Posts: 1197
Hello -

You just needed to build the XML file for the category. I went in to the SOBI2 page for the Child Care Category, and that built the XML file for that category. After that, the markers show because the XML file exists.
Nicholas
CIO - CorFun, Inc.
Publisher - orthodoxbiz.com
Webmaster - Orthodox Christian Network
  • Page:
  • 1
Moderators: jasper, nicholas, henry, jerry
Time to create page: 0.80 seconds

Login