Welcome, Guest
Username Password: Remember me

no latitude and longitude details
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: no latitude and longitude details

no latitude and longitude details 1 year, 5 months ago #508

  • serjo
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hi,
I don't understand why your nearby plugin does not fetch latitude and longitude data from google, because the property's location shows correctly on the standard Jomres map. So this tells me that the google data is correct - maybe google have updated their API and your plugin is using an older version...just a thought...

Also I have a problem with the language file: All spaces within that file are not rendered. I.E. This is the output:

Properties nearbyBalmers B&Bwithin30 km

and then below that

at approximate0.51 km Prices from$92.00 Per night

When I check the language file, I can see spaces in front of the words "within" and after "nearby" but they don't get rendered...

I'm using PHP 5.2.9 and the latest version of Joomla 1.5.22 and Jomres 4.5.9

Re: no latitude and longitude details 1 year, 5 months ago #509

  • piranha
  • OFFLINE
  • Jomres Extras Developer
  • Posts: 532
I don't understand why your nearby plugin does not fetch latitude and longitude data from google, because the property's location shows correctly on the standard Jomres map.


I use only lat/long details because some countries addresses might not be found properly. The lat/long details always provide more accurate results.

Also I have a problem with the language file: All spaces within that file are not rendered. I.E. This is the output:


Does this happen when you use the default joomla template?
Become our fan on Facebook and be the first to find out about new releases, updates and discounts Jomres Extras Facebook Page

Re: no latitude and longitude details 1 year, 5 months ago #510

  • serjo
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Yes, the "space in language" problem also happens with the standard Joomla template.

For the google maps, how can it be that Jomres itself finds the property on the map and shows the exact location when you click on "maps" whereas your plugin doesn't use this data to find nearby properties? If I have to manually enter the lat and long, then it's going to be pretty useless.
Can you please have a look at this?

Re: no latitude and longitude details 1 year, 5 months ago #511

  • piranha
  • OFFLINE
  • Jomres Extras Developer
  • Posts: 532
The reason for which the plugin uses lat/long details store in the db and not obtained from google is quite simple. Let`s say we have a site with 200 properties...and we want to find out what properties are close to the current one. If we get the details from google, we have to select 200 properties from db, ask google for the lat/long details for all of them based on address, then perform the radius calculations (based on a math formula) and display only X properties that are nearby the current one. This approach is totally unacceptable when it comes to resource usage.

Instead, we use the lat/long details stored in the db in property details and select just X properties that are located close to the current property and display them. Simple and way faster.

Yes, the "space in language" problem also happens with the standard Joomla template.


Please provide a link where I can see this.
Become our fan on Facebook and be the first to find out about new releases, updates and discounts Jomres Extras Facebook Page

Re: no latitude and longitude details 1 year, 5 months ago #512

  • serjo
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
ok, I understand what you are saying. But there could be an easy way to populate the lat and long fields by sending the address details to google at the moment the property is created, then use the newly fetched coordinates to show nearby properties.
I'm happy to send some cash your way if you can implement this. Basically we just need a button in there that says: Fetch coordinates (as it's done in other components i.e. Sobi)

Here's the url to check out the other problem: smartwebhosting.co.nz/cbtestsite/index.p...y&property_uid=1

Re: no latitude and longitude details 1 year, 5 months ago #513

  • piranha
  • OFFLINE
  • Jomres Extras Developer
  • Posts: 532
Here's the url to check out the other problem


I check it and it looks like the spaces are displayed fine..

Basically we just need a button in there that says: Fetch coordinates (as it's done in other components i.e. Sobi)


Yes, such feature can be created. I`ll talk to Vince about it and if he doesn`t want to add this to jomres default version, I`ll customize this for you. however, I`m terribly busy till the end of February so please get back to me with an email then.
Become our fan on Facebook and be the first to find out about new releases, updates and discounts Jomres Extras Facebook Page

Re: no latitude and longitude details 1 year, 5 months ago #514

  • serjo
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
Hi,
I have tested this in multiple browsers and on multiple computers and the problem is consistent.

This is what it displays: Properties nearbyUncle Tom's Hut B&Bwithin30 km

It's only in the nearby property module at the bottom of the page.
Please have another look and let me know of a solution.

The fetch coordinates function is really important to me as I also have a deadline for this project for the end of January. Is there any way you could maybe squeeze this in before that?

Re: no latitude and longitude details 1 year, 5 months ago #515

  • piranha
  • OFFLINE
  • Jomres Extras Developer
  • Posts: 532
Please use the contact form and provide your joomla admin and ftp login details and I`ll have a look.
Become our fan on Facebook and be the first to find out about new releases, updates and discounts Jomres Extras Facebook Page
  • Page:
  • 1
Time to create page: 0.46 seconds