Forum
Welcome, Guest

map not working if some vcards do not have co-ords
(1 viewing) (1) Guest
Ask all your version 2.0 questions here.
  • Page:
  • 1
  • 2

TOPIC: map not working if some vcards do not have co-ords

map not working if some vcards do not have co-ords 2 years, 2 months ago #840

  • mightykc
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
hi
separate issue i noticed.

i have some entries that have long/lat coordinates and some that dont. when i use search to look up those entries that specifically have the lat/long #'s the map plots fine. however, when the search includes some of the entries that dont contain these co-ordinates, none of the entries map (even the ones that contain the long/lat #). Either way the v-cards do show up always. i had thought the map would still plot the entries with the long/lat stats while leaving out the non plottable entries and not leave them all off the map. is this the case?

Re:map not working if some vcards do not have co-ords 2 years, 2 months ago #841

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

Unmodified, the code is looking for all of the entries to be complete. We did that to alert the admin of the site that a problem exists.

We have published code that lets you skip the entries that have bad data.

Please review here:

www.corshops.com/17-11-Google-Mapping-for-SOBI2-Search-Results-v-2.0/GoogleMapAPIcreateMarkerIcon-Error-reading-image/Page-6.html
Nicholas
CIO - CorFun, Inc.
Publisher - orthodoxbiz.com
Webmaster - Orthodox Christian Network
Last Edit: 1 year, 9 months ago by jerry. Reason: Bad link

Re:map not working if some vcards do not have co-ords 2 years, 2 months ago #844

  • mightykc
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
thanks

will look into this.

Re:map not working if some vcards do not have co-ords 1 year, 9 months ago #1533

  • leven
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
Hi,

I seem to be having the same problem, that is, the map displays on some searches and not on others.

The link above is broken. Can you provide the code alteration please?

Thank you

Re:map not working if some vcards do not have co-ords 1 year, 9 months ago #1534

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

Sorry about the link. Darn SEF URLs and their duplicates.

Here is the correct link:

www.corshops.com/index.php?option=com_kunena&Itemid=62&catid=17&func=view&id=787&lang=en
Nicholas
CIO - CorFun, Inc.
Publisher - orthodoxbiz.com
Webmaster - Orthodox Christian Network

Re:map not working if some vcards do not have co-ords 1 year, 9 months ago #1535

  • jerry
  • OFFLINE
  • Moderator
  • Posts: 407
Please try the link again.

Regards,

Jerry
  • Page:
  • 1
  • 2
Moderators: jasper, nicholas, henry, jerry
Time to create page: 0.54 seconds

Login